selectTopPeptidesPerProtein: this function selects the top x peptides / protein

Description Usage Arguments Examples

View source: R/transitionAnalysis.R

Description

this function selects the top x peptides / protein

Usage

1
selectTopPeptidesPerProtein(msexp, peptop = 3)

Arguments

msexp

data.frame with

peptop

how many top peptides

Examples

1
2
3
4
5
6
7
data(SDat)
rownames(SDat$pepinfo)
table(table(SDat$pepinfo$ProteinName))
x = selectTopPeptidesPerProtein(SDat,peptop=3)
table(table(x$pepinfo$ProteinName))
stopifnot(rownames(x$pepinfo)[1:10]==rownames(x$Intensity)[1:10])
stopifnot( length(unique(SDat$pepinfo$ProteinName)) == length(unique(x$pepinfo$ProteinName)) )

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