This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to custom colors in plot_ordination?

How to custom colors in plot_ordination? so instead of blue degrees for every cage number I can make it like red, blue, green etc? enter image description here

plot_ordination(physeq.alpha, GP.ord, type='cage',color = "cage", title = 'PCoA of Bray-Curtis Distance by Cage Type')

Thanks

pcoa plot_ordination beta_diversity

For starters, you want to change your cage values to factors.

I did that but it gives me one color:

plot_ordination(physeq.alpha, GP.ord, type='cage',color = as.factor("cage"), title = 'PCoA of Bray-Curtis Distance by Cage Type')

0 answers

No answers yet.

Log in to answer this question.