Skip to content
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

Open
wants to merge 16 commits into
base: refactor_fdr
Choose a base branch
from
Open

Additional diann fdr #291

wants to merge 16 commits into from

Conversation

mschwoer
Copy link
Contributor

@mschwoer mschwoer commented Jan 23, 2025

Add additional filtering for DIANN FDR.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@mschwoer mschwoer changed the base branch from main to refactor_fdr January 23, 2025 15:06
@mschwoer mschwoer requested a review from JuliaS92 January 24, 2025 10:14
@mschwoer mschwoer marked this pull request as ready for review January 24, 2025 10:14
@@ -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
Copy link
Contributor Author

@mschwoer mschwoer Jan 24, 2025

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"?

Copy link
Collaborator

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! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants