splitModLab: Split Modification and Label tags

View source: R/splitModLab.R

splitModLabR Documentation

Split Modification and Label tags

Description

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"

Usage

splitModLab(.data)

Arguments

.data

dataframe

Value

dataframe

Examples

##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) 


Scavetta/complexomics documentation built on Oct. 1, 2022, 2:15 a.m.