docs/functions/plot.class.probabilities.md

plot.class.probabilities

Plot class probabilities from a SPEARobject and a dataset data. The SPEARobj$params$family parameter needs to not be "gaussian"

Description

Plot class probabilities from a SPEARobject and a dataset data. The SPEARobj$params$family parameter needs to not be "gaussian"

Usage

list(list("plot"), list("class.probabilities"))(data = "train", cv = TRUE, plot.type = "heatmap", sort.by = "pred")

Arguments

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"



jgygi/SPEAR documentation built on July 5, 2023, 5:35 p.m.