grunwaldlab / metacoder

Parsing, Manipulation, and Visualization of Metabarcoding/Taxonomic data
http://grunwaldlab.github.io/metacoder_documentation
Other
134 stars 28 forks source link

Keep only differentially abundant taxa in heat_tree() #353

Closed SimonMorvan closed 9 months ago

SimonMorvan commented 9 months ago

Hi Metacoder creators,

I'm trying to subset the meta_obj to keep only the taxa which are differentially abundant for plotting purposes.

Something like: meta_obj$data$diff_table$log2_median_ratio[meta_obj$data$diff_table$wilcox_FDR_p_value > 0.05] <- 0 meta_obj_signif <- filter_taxa(meta_obj,log2_median_ratio!=0)

Sorry if this issue has already been addressed and thank you for creating this package !

Simon

SimonMorvan commented 9 months ago

Just found #297 which did the trick!