vp_plot_unkn: Function to visualize losses to unknown category due to...

View source: R/EC_functions.R

vp_plot_unknR Documentation

Function to visualize losses to unknown category due to disagreement in Dual classifier

Description

Makes confusion matrix like plot, where x axis represent SVM classification, y axis represent NN classification Allows visual summary of data lost to unknown category

Usage

vp_plot_unkn(cm, classes, threshold = 0, summary = TRUE, sample_size = NULL)

Arguments

cm

dual unknown confusion matrix from VP

classes

taxa groups in order, from VP

threshold

minimum value which will be labelled in plot

summary

logical to add text summary to plot E. Chisholm May 2019

sample_size

character string describes the sample size used to train the model being plotted (optional)


vprr documentation built on July 12, 2022, 5:07 p.m.