aggregateProteins: aggregate peptides - given msexperiment with transitons

Description Usage Arguments See Also Examples

View source: R/aggregateMSexperiment.R

Description

aggregate peptides - given msexperiment with transitons

Usage

1
aggregateProteins(msexp, FUN = sum)

Arguments

msexp

- msexperiment

FUN

aggregation function to use

See Also

aggregatePeptide

Examples

1
2
3
4
5
6
7
8
data( feature_alignment_requant )
msexp = loadTransitonsMSExperiment( feature_alignment_requant , nrt = 3 , peptop = 3 )
x = msexp
x = removeDecoys( x )
table( table( x$pepinfo$ProteinName ) )
y = aggregateProteins( x )
stopifnot(rownames(y$pepinfo$ProteinName) == rownames(y$Intensity))
stopifnot( table( table( y$pepinfo$ProteinName ) ) == 50 )

wolski/imsbInfer documentation built on March 27, 2021, 11:39 p.m.