parse_PTM_scores.Rd
Extract PTM information from the PTM probabilities column in the output from PD and add new columns with this information. Also optionally prints a summary of how many features (PSMs/peptides) pass a given probability threshold
parse_PTM_scores(
obj,
threshold = 95,
ptm_col = "PhosphoRS.Best.Site.Probabilities",
prob_split = "; |: ",
collapse_delimiter = ";",
verbose = TRUE
)
data.frame
with PD output at PSM/peptide level
numeric
If any score is below a set threshold, disregard all putative PTM sites
character
Columm name for PTM probabilities
character
regex to split PTM probabilities
character
delimiter for multiple values in output columns
Set TRUE to print log of events to console
data.frame