ggevonet | R Documentation |
drawing phylogenetic tree from phylo object
ggevonet(tr, mapping = NULL, layout = "slanted", mrsd = NULL, as.Date = FALSE, yscale = "none", yscale_mapping = NULL, ladderize = FALSE, right = FALSE, branch.length = "branch.length", ndigits = NULL, min_crossing = TRUE, ...)
tr |
a evonet object |
mapping |
aes mapping |
layout |
one of 'rectangular', 'slanted' |
mrsd |
most recent sampling date |
as.Date |
logical whether using Date class in time tree |
yscale |
y scale |
yscale_mapping |
yscale mapping for category variable |
ladderize |
logical |
right |
logical |
branch.length |
variable for scaling branch, if 'none' draw cladogram |
ndigits |
number of digits to round numerical annotation variable |
min_crossing |
logical, rotate clades to minimize crossings |
... |
additional parameter |
tree
Klaus Schliep
evonet
, ggtree
(enet <- ape::read.evonet(text='((a:2,(b:1)#H1:1):1,(#H1,c:1):2);')) ggevonet(enet) + geom_tiplab()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.