Thursday, June 5, 2014

New version of fancyTree for type="scattergram"

I just fixed a small bug in fancyTree(...,type="scattergram") that can cause axis labels to suddenly appear inside the multi-panel plot when edited using an external application. Just as a reminder, fancyTree(...,type="scattergram") creates a type of 'phylogenetic scatterplot matrix' for two or more continuous characters & a tree:

> require(phytools)
Loading required package: phytools
> tree<-pbtree(n=26,tip.label=LETTERS[26:1])
> X<-fastBM(tree,nsim=3)
> fancyTree(tree,type="scattergram",X=X)

Code is here, and a 'bleeding-edge' phytools version with this update can be found here.

No comments:

Post a Comment

Note: due to the very large amount of spam, all comments are now automatically submitted for moderation.