geom_splitnet: geom_splitnet

Description Usage Arguments Value Author(s) Examples

View source: R/ggnetworx.R

Description

add tree layer

Usage

1
geom_splitnet(layout = "slanted", ...)

Arguments

layout

one of 'rectangular', 'slanted', 'circular', 'radial' or 'unrooted'

...

additional parameter

Value

tree layer

Author(s)

Klaus Schliep

Examples

1
2
3
4
data(yeast, package="phangorn")
dm <- phangorn::dist.ml(yeast)
nnet <- phangorn::neighborNet(dm)
ggplot(nnet, aes(x, y))  + geom_splitnet() + theme_tree()

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