ChiLiubio / microeco

An R package for data analysis in microbial community ecology
GNU General Public License v3.0
195 stars 56 forks source link

choose own colours for plots #287

Closed JAkorli closed 11 months ago

JAkorli commented 11 months ago

This is indeed a great tool for microbiome analyses. I am really enjoying how to use it. Wondering if there is a way to change the colours of the plots, for example, in t1$plot_bar(others_color = "grey70", facet = "Group", xtext_keep = T, legend_text_italic = TRUE).

I want to be able to customise the colours.

JAkorli commented 11 months ago

I found the answer soon after sending this, and used: trans_abund$plot_bar( color_values = RColorBrewer::brewer.pal(8, "Dark2"),....