geom_splitnet: geom_splitnet

View source: R/ggnetworx.R

geom_splitnetR Documentation

geom_splitnet

Description

add tree layer

Usage

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

Arguments

layout

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

...

additional parameter

Value

tree 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/ggnetworx documentation built on Dec. 25, 2024, 2:38 a.m.