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()