Add rowData columns with positions of PTMs with respect to peptide sequence
add_ptm_pos_rowdata_mq.RdThis function takes a SummarizedExperiment object with the evidence.txt
output from MaxQuant and adds rowData columns to describe the PTMs present in the peptide and their positions within the peptide' '
Arguments
- obj
SummarizedExperiment. Proteomics dataset- ptms_to_retain
charactervector with PTMs to retain. Inspect values in rowData(obj)$Modified.sequence to get correct PTM name- ptm_encoding_pos
charactername vector describing whether modifification comes before (-1) or after (1) amino acid in Modified.sequence column values.