Quantcast
Channel: Phylogenetic Tools for Comparative Biology
Viewing all articles
Browse latest Browse all 802

Simple user-requested update to fancyTree(..., type="extinction")

$
0
0

I just pushed a small update to the phytools function fancyTree for type="extinction" in response to a user request.

This option in the function does a very simple visualization of a tree with the edges leading to extinct taxa highlighted using different colors and line types. The new functionality permits the user to turn on or off the tip labels (argument ftype, following other phytools functions), to size the labels (fsize), to adjust the width of the plotted edges of the tree (lwd), and to change the colors of the extant & extinct lineages (colors). E.g.:

library(phytools)
tree<-pbtree(b=1,d=0.4,t=6)
fancyTree(tree,colors=c("blue","red"),
lwd=1,ftype="off")

plot of chunk unnamed-chunk-1

Just update phytools from GitHub using devtools& it should work!


Viewing all articles
Browse latest Browse all 802

Trending Articles