Plot average silhouette scores and average predictive \(R^2\)
plot_module_count_helper(list_of_fits, penalization)
A ggplot2 plot showing the average silhouette score and the average predictive \(R^2\)
A list of scregclust
objects each fit to the same
dataset across a variety of module counts (varying
n_modules
while running scregclust
).
Either a single numeric value requesting the results
for the same penalty parameter across all fits in
list_of_fits
, or one for each individual fit.