PTMsummarize {MSstatsPTM} | R Documentation |
PTMsummarize
summarizes the peak log2-intensities for each PTM site
into one value per run. If protein peak-intensities are availble, the same
summarization procedure is applied to each protein as well.
PTMsummarize(data, method = "tmp")
data |
A list of two data frames named |
method |
A string defining the summarization method. Default is
|
A list of two data frames named PTM
and PROTEIN
. The
PTM
data frame has columns of protein
, site
,
group
, run
, log2inty
, and possibly, batch
. The
PROTEIN
data frame includes all as in PTM
, except
site
.
sim <- PTMsimulateExperiment( nGroup=2, nRep=2, nProtein=1, nSite=1, nFeature=5, logAbundance=list( PTM=list(mu=25, delta=c(0, 1), sRep=0.2, sPeak=0.05), PROTEIN=list(mu=25, delta=c(0, 1), sRep=0.2, sPeak=0.05) ) ) PTMsummarize(sim)