R/metapredict_plot.R
plotClassProbsCv.RdMake a gtable consisting of multiple ggplots, 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().