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

Fix cutoff ordering in make_phy_df() #20

Open
JCSzamosi opened this issue Jul 10, 2023 · 0 comments
Open

Fix cutoff ordering in make_phy_df() #20

JCSzamosi opened this issue Jul 10, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@JCSzamosi
Copy link
Owner

JCSzamosi commented Jul 10, 2023

I think this will screw things up for group-mean taxa barcharts when the cutoff is >0 because the non-zero total will be removed from the denominator. Need to make sure I understand exactly what this is doing.

# Set all counts < the cutoff to zero
phyloseq::otu_table(phyl_glommed)[phyloseq::otu_table(phyl_glommed) <
                                      cutoff] = 0
@JCSzamosi JCSzamosi added the bug Something isn't working label Jul 10, 2023
@JCSzamosi JCSzamosi self-assigned this Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant