add_PTM_positions.Rd
Identify the position(s) of the PTM(s) with respect to the protein.
This is acheieved by finding the position of the peptide sequence in the protein
and using the position(s) of the PTM(s) in the peptide sequence. Where a sequence
has multiple master proteins or the position(s) of the PTM(s) are unknown, the
position(s) of the PTM(s) with respect to the protein is undefined (NA). Input
is PD output at PSM/peptide level having been passed through parse_PTM_scores
to add 'filtered_pos' column
add_PTM_positions(
obj,
proteome_fasta,
master_protein_col = "Master.Protein.Accessions",
sequence_col = "Sequence"
)
data.frame
with PD output at PSM/peptide level
string
Filepath for proteome fasta
string
Name of column containing master protein IDs
string
. Name of column containing peptide sequences
data.frame