AlexsLemonade / AlexsLemonade/rOpenScPCA

Function for plotting clustering metrics across multiple clustering results

Open
#9 2 comments 0 reactions 1 assignee Claimed by @cansavvy View on GitHub
Dominant language
HTML
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/user-attachments/assets/ca8fe3aa-b8f2-4c21-bdfa-a98896a7874b)

![image](https://github.com/user-attachments/assets/abaa766d-e84e-499a-a7c8-22bb99ece4f2)

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.