Skip to content

Commit

Permalink
Merge branch 'improve_assign_peptide_type_243' of https://github.com/…
Browse files Browse the repository at this point in the history
…jpquast/protti into improve_assign_peptide_type_243
  • Loading branch information
elena-krismer committed Aug 26, 2024
2 parents dea225b + 35d5222 commit 9b8abc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/assign_peptide_type.R
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ assign_peptide_type <- function(data,
)) %>%
dplyr::select(-N_term_tryp, -C_term_tryp, -missing_methionine)

# add
result <- data %>%
dplyr::left_join(peptide_data %>%
dplyr::select({{ aa_before }}, {{ last_aa }}, {{ aa_after }}, {{ protein_id }}, pep_type),
Expand All @@ -103,4 +102,5 @@ assign_peptide_type <- function(data,
rlang::as_name(rlang::enquo(protein_id))
))
return(result)

}

0 comments on commit 9b8abc8

Please sign in to comment.