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

error in plot_cladogram function "TRUE/FALSE needed" #113

Closed
drelo opened this issue Feb 21, 2024 · 1 comment
Closed

error in plot_cladogram function "TRUE/FALSE needed" #113

drelo opened this issue Feb 21, 2024 · 1 comment

Comments

@drelo
Copy link

drelo commented Feb 21, 2024

Dear all,

I have a similar issue to #94

After subsetting and running Lefse I would like to use the plot_cladogram function.

I used this code.

smalltreatment <- phyloseq::subset_taxa(gp_filt, Phylum %in% c("Firmicutes"))
mm_lefse <- run_lefse(smalltreatment, wilcoxon_cutoff = 0.05,
group = "batch", taxa_rank = "Genus", kw_cutoff = 0.05, multigrp_strat = TRUE, lda_cutoff = 3)
plot_cladogram(mm_lefse, color = c("darkgreen", "red"))

I got the following error

"Error in if (n <= length(x)) { : missing value where TRUE/FALSE needed"

Could anyone help me to solve this issue, I am new to the phyloseq format but have performed lefse and graphlan before.

Thanks

Andrés

@zhanxw
Copy link

zhanxw commented May 16, 2024

You may want to put a minimal reproducible example. Otherwise, it is hard to tell what happened.

@drelo drelo closed this as completed May 16, 2024
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

No branches or pull requests

2 participants