Visualise Generative Model Fit
A function to visualise how well a general model has fitted to a mutation dataset across cross-validation folds. Designed to produce a similar output to glmnet's function plot.cv.glmnet.
vis_model_fit( gen_model, x_sparsity = FALSE, y_sparsity = FALSE, mut_type = NULL )
gen_model
x_sparsity
y_sparsity
mut_type
Summary plot of the generative model fit across folds.
p <- vis_model_fit(example_gen_model)
Useful links