countPeptides: Count the number of peptides in each group

Description Usage Arguments

View source: R/countPeptides.R


Given a protdata object, a dataframe pData containing experiment information and a predictor of interest, returns a data frame giving the amount of peptides observed for each level of the predictor.


countPeptides(protdata, pData, predictor)



A protdata object


A dataframe that contains experimenter-supplied variables describing phenotypes and/or experimental factors that might influence the quantitative value of interest for each mass spec run. The colnames should be all the different effects that influence the outcome. The first column should hold all the different run names. The corresponding levels of the other effects should be in the subsequent columns.


A predictor for which you would like to summarize the number of identified peptides per level for each protein. This predictor should correspond to one element of the colnames of pData.

statOmics/MSqRob documentation built on Nov. 24, 2018, 6:52 a.m.