-
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 filtering #62
add filtering #62
Conversation
@cansavvy as discussed earlier ... Second additional commit was after running Still need to discuss next steps (including what to do if Still also should probably adjust the comment to tell the user to check if their input data IDs are miscoded/follow the pattern they expect? |
Perfect! thanks for doing this! Sorry for my delay in responding.
I believe/supposedly you shouldn't technically have to re-run this because the GitHub actions will make sure documents are up to date. But it certainly doesn't hurt anything to do so. I'm not 100% sure about this but can make it so if the GitHub Actions here don't already do this.
I'll work on this part.
Yeah I can adjust that comment in the next PR. |
Seeing if I can get these errors resolved and then I'll merge and start fresh on the next part of this:
|
Description
This is the beginning of a series of stacked PRs that are addressing NAs getting propagated throughout the code from normalization through CRISPR score and genetic interaction score calculation. In investigating issue #55, I found that NAs were being introduced for the test dataset because there were 2 input data pgRNA IDs that didn't have corresponding data in the annotation. So once the
left_join()
in the annotation step was performed, NAs were present.The goal for addressing this issue is to
num_ids_wo_annot
rm_ids_wo_annot
which by default is TRUErm_ids_wo_annot
to FALSE) and then the analysis will proceed but ignore NAs within addition, subtraction, median, and mean calculations.The checkmarked items above are what this PR specifically takes on which is reporting to console which IDs are filtered, filters them, and moves on with the analysis.
Next steps
The uncheckmarked items above will be tackled in stacked PRs down the line.
Fixes #55
How Has This Been Tested?
I've tested this fix locally on my computer using
devtools
to load thegimap
changes and ran through the test data from Sita without error messages.Feedback requested
Thanks!!