Entering edit mode
2.1 years ago
Amr
▴
180
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?
plot_ordination(physeq.alpha, GP.ord, type='cage',color = "cage", title = 'PCoA of Bray-Curtis Distance by Cage Type')
Thanks
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')