Hi, I was wondering if anyone knows a better way to color the tips or edges for each clade of the tree that's attached.
((MusMusculus:0.00,((BosTaurus:0.00,OryctolagusCuniculus:0.00):22.50,(LamaGlama:0.00(HomoSapiens:0.00,PansPansicus:0.00):23.00):41.50):75.33):103.00);
Right now, i am doing it in a not generalized way of extracting the tip labels in order then color them using this syntax:
tiplabels(tip_labels, bg = c('purple','blue','blue','green','red','red'), cex=0.5, fg="transparent")
I want to find a more generalized way where if I put in a different tree, the clade will be labeled with different color.