fData
.R/goannotations.R
filterMaxMarkers.Rd
Removes annotation information that contain more that a certain number/percentage of proteins
filterMaxMarkers(object, n, p = 0.2, fcol = "GOAnnotations", verbose = TRUE)
An instance of class MSnSet
.
Maximum number of proteins allowed per class/information term.
Maximum percentage of proteins per column. Default is 0.2 i.e. remove columns that have information for greater than 20 of the total number of proteins in the dataset (note: this is useful for example, if information is GO terms, for removing very general and uninformative terms).
The name of the matrix of marker information. Default is
GOAnnotations
.
Number of marker candidates retained after filtering.
An updated MSnSet
addGoAnnotations
and example therein.