I am trying to create a enterotype plot. I am following http://enterotype.embl.de/enterotypes.html. My question how can i color the factors in s.class
. I tried
points(obs.bet$ls[,xax], obs.bet$ls[,yax], col=rainbow(length(unique(design$BF))),cex=1,pch=16)
but the colors are not correct for the factors.
And one more question data in this link have used k=3
cluster but i would like to use k=2
but I am getting an error.Looking forward for a reply
Thanks!!