| splitModLab | R Documentation |
Splits up the Modifications column into lists of vectors for modifications(Mods) and labels(Labels) It adds two more columns to the data frame:
UniqueCombinedID_A: Unique combinations of Sequence, Mods and Charge for "scenario A".
UniqueCombinedID_B: Unique combinations of Sequence, Mods, Charge and Labels for "scenario B"
splitModLab(.data)
.data |
dataframe |
dataframe
##Use example peptide data set, read in and clean data
inputFile <- system.file("extData", "data.txt", package = "ComPrAn")
peptides <- peptideImport(inputFile)
peptides <- cleanData(peptides, fCol = "Search ID")
## separate chemical modifications and labelling into separate columns
peptides <- splitModLab(peptides)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.