plot.class.probabilities
Plot class probabilities from a SPEARobject and a dataset data
. The SPEARobj$params$family
parameter needs to not be "gaussian"
Plot class probabilities from a SPEARobject and a dataset data
. The SPEARobj$params$family
parameter needs to not be "gaussian"
list(list("plot"), list("class.probabilities"))(data = "train", cv = TRUE, plot.type = "heatmap", sort.by = "pred")
Argument |Description
------------- |----------------
data
| Which dataset to use? Can be any dataset listed under $data$____
. Defaults to "train"
.
cv
| If data = "train"
, get factor scores generated from $run.cv.spear
? If $run.spear
was used or if data != "train"
this parameter is ignored. Defaults to TRUE
.
plot.type
| What type of plot? Accepts "heatmap"
(default) and "line"
sort.by
| How to sort samples? By "pred"
(prediction), "true"
, (true value), or "none"
. Defaults to "pred"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.