View source: R/fn_spongeffects_utility.R
plot_confusion_matrices | R Documentation |
plots the confusion matrix from spongEffects train_and_test() (see Boniolo and Hoffmann 2022 et al. Fig. 3a and Fig. 3b)
plot_confusion_matrices(trained_model, subtypes.testing.factors)
trained_model |
returned from train_and_test_model |
subtypes_testing_factors |
subtypes of testing samples as factors |
plot of the confusion matrix
returns confusion matrix plots of the trained model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.