How many features in a group?
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]
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.