plot_confusion_matrices: plots the confusion matrix from spongEffects train_and_test()...

View source: R/fn_spongeffects_utility.R

plot_confusion_matricesR Documentation

plots the confusion matrix from spongEffects train_and_test() (see Boniolo and Hoffmann 2022 et al. Fig. 3a and Fig. 3b)

Description

plots the confusion matrix from spongEffects train_and_test() (see Boniolo and Hoffmann 2022 et al. Fig. 3a and Fig. 3b)

Usage

plot_confusion_matrices(trained_model, subtypes.testing.factors)

Arguments

trained_model

returned from train_and_test_model

subtypes_testing_factors

subtypes of testing samples as factors

Value

plot of the confusion matrix

returns confusion matrix plots of the trained model


biomedbigdata/SPONGE documentation built on Feb. 6, 2023, 10:19 p.m.