View source: R/simplifyProteins.R
simplifyProteins | R Documentation |
For rows: Keep only one row with highest Precursor Area in cases where for a single Protein Group Accession in a single fraction there are multiple rows with the same combination of Sequence, Mods and Charge
For cols: remove columns that are not neccessary any more
simplifyProteins(.data, direction = c("rows", "cols"))
.data |
a dataframe |
direction |
character, rows, cols or both |
a 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) ## remove unneccessary columns, simplify rows peptides <- simplifyProteins(peptides)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.