Create a publication-quality plot showing the mean rank across resolutions. Lower mean rank indicates better overall performance across all metrics.
Arguments
- rank_results
A data.frame output from
suggest_resolution.- method
Character;
"rank"(default) for direct rank aggregation, or"curvature"for curvature-based ranking. The curvature method requires at least 3 resolutions.- highlight_best
Logical; if TRUE (default), highlight the best resolution with a vertical dashed line.
- base_size
Numeric; base font size for theme. Default is 12.
Examples
if (FALSE) { # \dontrun{
cv_results <- clust_opt(seurat_obj, subject_ids = "donor_id")
rankings <- suggest_resolution(cv_results)
plot_mean_rank(rankings)
plot_mean_rank(rankings, method = "curvature")
} # }