-
Notifications
You must be signed in to change notification settings - Fork 10
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
Additional diann fdr #291
base: refactor_fdr
Are you sure you want to change the base?
Additional diann fdr #291
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
This reverts commit 242fdb9.
@@ -57,7 +58,7 @@ def create_anndata(self) -> ad.AnnData: | |||
index=PsmDfCols.RAW_NAME, | |||
columns=PsmDfCols.PROTEINS, | |||
values=PsmDfCols.INTENSITY, | |||
aggfunc="first", | |||
aggfunc="first", # DataFrameGroupBy.first -> will skip NA |
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.
@vbrennsteiner I looked up the docs, seem that this logic (https://github.com/MannLabs/bm_tools/blob/main/bm_tools/diann.py#L184) is implied in "first"?
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 couldn't find the respective documentation, but I changed this in bm_tools and the test with na-containing reports still works, thanks for the hint! :)
Add additional filtering for DIANN FDR.