powered by
Make a color vector for colouring tree tips
coltips(phy)
a color vector as long as the number of tips
tree as a phylo object
Each tip is given a color according to the nature of the isoform: green (GS2), blue (GS1a), brown (GS1b Gym), salmon (GS1b Ang), purple (other).
coltips(ape::read.tree(text = "((Bdi, Sly), (Pp, Ap));"))
Run the code above in your browser using DataLab