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)
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)
This is fantastic! I have been looking for something like this for a while. Great work!
ReplyDeleteThis looks amazing and soo colorful! I wish I had any idea of what this is and for what purpose lol
ReplyDeleteDo 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.
Is it possible to remove tips from the heatmap tree? I have tried:
ReplyDeletedrop.tip(tree1,"tiplabel",trim.internal = TRUE)
from ape, where tiplabel is the tip to remove, then re-ran phylo.heatmap, but the tip remains.
Thanks.
This is a misunderstanding of what drop.tip does. Try adding the optional argument ftype="off" to your phylo.heatmap function call. -- Liam
ReplyDelete