minMarkers | R Documentation |
This function updates an MSnSet
instances and sets
markers class to unknown
if there are less than n
instances.
minMarkers(object, n = 10, fcol = "markers")
object |
An instance of class |
n |
Minumum of marker instances per class. |
fcol |
The name of the markers column in the |
An instance of class "MSnSet"
with a new
feature variables, named after the original fcol
variable and
the n
value.
Laurent Gatto
getPredictions
to filter based on
classification scores.
library(pRolocdata)
data(dunkley2006)
d2 <- minMarkers(dunkley2006, 20)
getMarkers(dunkley2006)
getMarkers(d2, fcol = "markers20")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.