plot_predictions_against_classes: Plots confusion matrix of true labels against predicted...

Description Usage Arguments Value

View source: R/psupertime_plots.R

Description

Plots confusion matrix of true labels against predicted labels.

Usage

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"
)

Arguments

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

Value

ggplot2 object


wmacnair/psupertime documentation built on July 10, 2020, 8:12 p.m.