View source: R/functions-MSnSet.R
nFeatures | R Documentation |
This function computes the number of features in the group defined
by the feature variable fcol
and appends this information
in the feature data of object
.
nFeatures(object, fcol)
object |
An instance of class |
fcol |
Feature variable defining the feature grouping structure. |
An updated MSnSet
with a new feature variable
fcol.nFeatures
.
Laurent Gatto
library(pRolocdata)
data("hyperLOPIT2015ms3r1psm")
hyperLOPIT2015ms3r1psm <- nFeatures(hyperLOPIT2015ms3r1psm,
"Protein.Group.Accessions")
i <- c("Protein.Group.Accessions", "Protein.Group.Accessions.nFeatures")
fData(hyperLOPIT2015ms3r1psm)[1:10, i]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.