View source: R/goannotations.R
filterMinMarkers | R Documentation |
fData
.Removes annotation information that contain less that a certain number/percentage of proteins
filterMinMarkers(object, n = 10, p, fcol = "GOAnnotations", verbose = TRUE)
object |
An instance of class |
n |
Minimum number of proteins allowed per column. Default is 10. |
p |
Minimum percentage of proteins per column. |
fcol |
The name of the matrix of marker information. Default is
|
verbose |
Number of marker candidates retained after filtering. |
An updated MSnSet
.
Lisa M Breckels
library(pRolocdata)
data(dunkley2006)
xx <- dunkley2006
## create a matrix of markers
xx <- mrkVecToMat(xx, vfcol = "markers", mfcol = "Markers")
## Remove marker classes with less than 15 members, from matrix of markers
xx <- filterMinMarkers(xx, n = 15, fcol = "Markers")
## Remove marker classes with more than 50 members, from matrix of markers
xx <- filterMaxMarkers(xx, p = .2, fcol = "Markers")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.