View source: R/metapredict_plot.R
plotClassProbsCv | R Documentation |
Make a gtable consisting of multiple ggplot
s, one for each dataset used in
cross-validation. Within each class, samples are sorted by the probability of
the true class.
plotClassProbsCv( cvFit, lambda, ematMerged, sampleMetadata, className = "class", classLevels = NA, size = 1.5, ggplotArgs = NA )
cvFit |
|
lambda |
value of lambda to use in |
ematMerged |
matrix of gene expression for genes by samples. |
sampleMetadata |
data.frame of sample metadata. |
className |
column in sampleMetadata containing values of the response variable. |
classLevels |
Preferred order of classes. |
size |
Point size, passed to |
ggplotArgs |
List of additional arguments to add to each ggplot. |
A ggplot
object constructed by cowplot::plot_grid()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.