hmorlon / PANDA

Phylogenetic ANalyses of DiversificAtion
24 stars 15 forks source link

Add tiplabels and other plot.phylo functions #19

Closed SimonGreenhill closed 5 years ago

SimonGreenhill commented 5 years ago

This patch makes show.tip.labels default to FALSE, but allows it to be overridden by users, and allows users to pass other commands to plot.phylo (e.g. if they want a fan tree or something:

plot_ClaDS_phylo(tree, MAPS[-(1:3)]) # as before

plot_ClaDS_phylo(tree, MAPS[-(1:3)], type="f") # fan tree please!

plot_ClaDS_phylo(tree, MAPS[-(1:3)], type="f", show.tip.label=T) # tiplabels on a fan tree