orgQuants | R Documentation |
This function produces organelle-specific quantiles corresponding to the given classification scores.
orgQuants(object, fcol, scol, mcol = "markers", t, verbose = TRUE)
object |
An instance of class |
fcol |
The name of the prediction column in the
|
scol |
The name of the prediction score column in the
|
mcol |
The name of the column containing the training data in the
|
t |
The quantile threshold. |
verbose |
If |
A named vector
of organelle thresholds.
Lisa Breckels
getPredictions
to get organelle predictions based
on calculated thresholds.
library("pRolocdata")
data(dunkley2006)
res <- svmClassification(dunkley2006, fcol = "pd.markers",
sigma = 0.1, cost = 0.5)
## 50% top predictions per class
ts <- orgQuants(res, fcol = "svm", t = .5)
getPredictions(res, fcol = "svm", t = ts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.