geom_splitnet | R Documentation |
add splitnet layer
geom_splitnet(layout = "slanted", ...)
layout |
one of 'rectangular', 'slanted', 'circular', 'radial' or 'unrooted' |
... |
additional parameter |
splitnet layer
Klaus Schliep
data(yeast, package='phangorn') dm <- phangorn::dist.ml(yeast) nnet <- phangorn::neighborNet(dm) ggplot(nnet, aes(x, y)) + geom_splitnet() + theme_tree()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.