Description Usage Arguments Value
View source: R/psupertime_plots.R
Plots confusion matrix of true labels against predicted labels.
1 2 3 4 5 6 7 8 | plot_predictions_against_classes(
psuper_obj,
new_x = NULL,
new_y = NULL,
process = FALSE,
plot_var = "prop_true",
palette = "BuPu"
)
|
psuper_obj |
Psupertime object, output from psupertime |
new_x, new_y |
Optional data to predict with psuper_obj |
plot_var |
Variable to plot: prop_true is proportion of true labels, prop_predict is proportion of predicted labels, N is # of cells |
palette |
RColorBrewer palette to use |
ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.