Plot the stability of the clusterings obtained for each method

plot_stability(res, method_colors = NULL)

Arguments

res

A data.frame with clustering results.

method_colors

A named vector with colors to use for the different clustering methods. Can be NULL, in which case colors are chosen automatically.

Value

A named list of ggplot2 objects

Author

Angelo Duo, Charlotte Soneson

Examples

res <- clustering_summary_filteredExpr10_Koh_v1()
#> see ?DuoClustering2018 and browseVignettes('DuoClustering2018') for documentation
#> loading from cache
plots <- plot_stability(res)
#> Aggregation function missing: defaulting to length
#> Aggregation function missing: defaulting to length
#> Aggregation function missing: defaulting to length
#> Warning: `cols` is now required when using `unnest()`.
#>  Please use `cols = c(stability)`.