After performing clustering and obtaining clustering metrics, it's likely that someone would want to put those metrics into a plot. Specifically, it would be helpful to be able to quickly compare things like width and purity across different parameters used.
I would envision something like the plot below that looks at one of the statistics (like width, purity, or stability) across varying nearest neighbor and resolution parameters.
I think this function would require the following arguments:
Input data: Either a single data frame or list of data frames with the clustering metrics calculated for each cell (purity, width) or each replicate (stability).
Metric column: Which column in the data frame to plot
Facet options: Which columns to include when faceting - e.g., nn and resolution. If only one is provided this should be the x-axis.
After performing clustering and obtaining clustering metrics, it's likely that someone would want to put those metrics into a plot. Specifically, it would be helpful to be able to quickly compare things like width and purity across different parameters used.
I would envision something like the plot below that looks at one of the statistics (like width, purity, or stability) across varying nearest neighbor and resolution parameters.
I think this function would require the following arguments: