-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add function to calculate batch ARI #175
Comments
This function should calculate the ARI between labels (either batch or cell type) and clustering results for a merged and integrated SCE object. PCs will be downsampled before clustering and calculating the ARI. This should be done a set number of times (default: 20) based on the number of reps specified. As mentioned in #177, the setup to calculate the batch or cell type ARI is the same as setting up for calculating the ASW. So I think we should create a single wrapper function that grabs all the PCs and performs downsampling (see #177 (comment) for a longer description). If the
This function could also be used inside the function for calculating within-batch ARI mentioned in #176. I'm going to tag folks that are out on Monday for their opinions. In the meantime @cbethell let me know if you have any additional thoughts. |
@sjspielman and @jashapiro could you please leave any additional thoughts or comments by EOD on Wednesday 6/28? Thank you! |
Addressed by #176 |
Is your feature request related to a problem? Please describe.
Per AlexsLemonade/scpca-downstream-analyses#352 (comment):
We are finding that we may have more than one use case for the integration performance metrics used in the
sc-data-integration
repo. That said, we should get these functions in a single place so that they can be utilized across multiple repos post-integration.Describe the solution you'd like
Add a function for calculating
batch ARI
similar to the script in thesc-data-integration
repo: https://github.com/AlexsLemonade/sc-data-integration/blob/main/scripts/utils/calculate-ARI.RThe text was updated successfully, but these errors were encountered: