ggevonet: ggevonet

Description Usage Arguments Value Author(s) See Also Examples

Description

drawing phylogenetic tree from phylo object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
ggevonet(
  tr,
  mapping = NULL,
  layout = "slanted",
  open.angle = 0,
  mrsd = NULL,
  as.Date = FALSE,
  yscale = "none",
  yscale_mapping = NULL,
  ladderize = FALSE,
  right = FALSE,
  branch.length = "branch.length",
  ndigits = NULL,
  min_crossing = TRUE,
  ...
)

Arguments

tr

phylo object

mapping

aes mapping

layout

one of 'rectangular', 'slanted'

open.angle

open angle, only for 'fan' layout

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

Value

tree

Author(s)

Klaus Schliep

See Also

evonet, ggtree

Examples

1
2
(enet <- ape::read.evonet(text="((a:2,(b:1)#H1:1):1,(#H1,c:1):2);"))
ggevonet(enet) + geom_tiplab()

KlausVigo/ggnetworx documentation built on Nov. 20, 2019, 6:52 p.m.