Friday, July 12, 2013

Phylogenetic scatter plot now an option of fancyTree

I just add the phylogenetic scatter plot that I demo-ed yesterday on the blog as an option of the function fancyTree. It is in a new build of phytools (phytools 0.3-01). Here is a quick demonstration:

> library(phytools)
> packageVersion("phytools")
[1] ‘0.3.1’
> tree<-pbtree(n=26)
> tree$tip.label<-LETTERS[26:1]
> X<-fastBM(tree,nsim=3)
> fancyTree(tree,type="scattergram",X=X,fsize=0.8)
(Maximum quality version here.)

I still think this is kind of neat.


  1. Hi, this is really cool, but I had a quick question, is there a way to change font size for the text in the phylomorphospce plots? I included fsize in my code but this only changed the size of the tip labels for the contMap style plots. I would be so grateful for any help!