-
Notifications
You must be signed in to change notification settings - Fork 1
Implement vertical emd and split perfect integration #63
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
Conversation
use nan mean and nan max so NaN elements are not counted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your effort @ghar1821 !
The PR looks good to me.
The only thing that I would add would be the flag _horizontal
for the rest of the emd metrics in emd/config.vsh.yaml
and emd/script.py
(e.g. emd_mean_ct
-> emd_mean_ct_horiz
) so that the final heatmap would be easier to understand.
label: Perfect Integration Vertical | ||
# A one sentence summary of how this method works (required). Used when | ||
# rendering summary tables. | ||
summary: "Positive control method which imitates what perfect batch integration." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say 'Positive control method for vertical metrics reflecting a scenario in which all samples belong to the same batch'
description: | | ||
This control method return all samples from batch 1. | ||
Because the samples all came from one batch, there should be no batch effect when | ||
measuring vertical metrics. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would specify that yes, we do not expect batch effect, but we still expect a sample-level effect due to the underlying different biology of the samples included in the same batch
Describe your changes
Introduced new vertical emd metric and split the perfect integration into both vertical and horizontal.
Checklist before requesting a review
I have performed a self-review of my code
Check the correct box. Does this PR contain:
Proposed changes are described in the CHANGELOG.md
CI Tests succeed and look good!