geom_splitnet: geom_splitnet

View source: R/ggsplitnet.R

geom_splitnetR Documentation

geom_splitnet

Description

add splitnet layer

Usage

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

Arguments

layout

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

...

additional parameter

Value

splitnet layer

Author(s)

Klaus Schliep

Examples

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

KlausVigo/tanggle documentation built on April 16, 2022, 10:53 p.m.