Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function for plotting clustering metrics across multiple clustering results #9

Open
allyhawkins opened this issue Nov 19, 2024 · 2 comments
Assignees

Comments

@allyhawkins
Copy link
Member

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.

image

image

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.
@jaclyn-taroni
Copy link
Member

May be of interest to @cansavvy next month!

@cansavvy
Copy link
Collaborator

I'm here. Let's do it. I gotta get up to speed with this project but feel free to assign me to this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants