Thursday, November 8, 2012

Trick to capitalize genus names in a phylogeny

Here's the situation: we have a tree in file or memory in which the genus names of our species binomials are not capitalized. In other words:

> plotTree(tree,ftype="i")

We want a nice plot of this tree, with minimal post hoc editing, but we need the genus names to be capitalized. Here's how to do it:

That's it.

BTW: I couldn't help but notice that this is my 300th post to the phytools blog! Thanks for reading.


  1. Nice blog man!
    I have a blog about Herpetology and science in general:

  2. In 2003 they moved to New Mexico after arriving they held a vote in favor of the group name. Almost 70% of respondents voted in favor of Isotopes. funny color run team names