Wednesday, February 3, 2016

A bit more user control for phylo.heatmap

I just added, in what might be the most trivial update possible, user control of the plotted phylogeny to phylo.heatmap. This will allow the user to control just two additional features: the line widths (using the optional argument lwd) and the font type (ftype).

Here is a demo:

library(phytools)
phylo.heatmap(tree,X,labels=FALSE,ftype="b",lwd=3,standardize=TRUE)

plot of chunk unnamed-chunk-1

BTW, phytools can be updated by running the following lines in a clean R session:

library(devtools)
install_github("liamrevell/phytools")

The data for this example were simulated using the following code:

tree<-pbtree(n=26,tip.label=LETTERS)
X<-fastBM(tree,nsim=10)

2 comments:

  1. This is fantastic! I have been looking for something like this for a while. Great work!

    ReplyDelete
  2. This looks amazing and soo colorful! I wish I had any idea of what this is and for what purpose lol
    Do you think anyone from the best service for college paper writing http://ratedbystudents.com/services knows anything about it? I will be needing an essay.

    ReplyDelete