View source: R/metapredict_plot.R
plotClassProbsValidation | R Documentation |
Make a gtable consisting of multiple ggplots, one for each validation dataset. Within each class, samples are sorted by the probability of the true class.
plotClassProbsValidation( predsList, sampleMetadata, className, classLevels, size = 1.5, ggplotArgs = NA )
predsList |
Result from |
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 |
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.