phylo_plotting: Phylogeny Plotting

View source: R/phylo_plotting.R

phylo_plottingR Documentation

Phylogeny Plotting

Description

Plot a phylogeny based on either the original or simplified network.

Usage

phylo_plotting(links, nodes, captions = NULL, iterations = 25, nodePadding = 3)

Arguments

links

The links from the original or simplified network.

nodes

The nodes from the original or simplified network.

captions

The captions that will appear when you hover over each node in the phylogeny.

iterations

The number of iterations used to optimize the sankey plot (default is 25).

nodePadding

The vertical padding between nodes in the sankey plot (default is 3).

Value

A D3.js sankey plot that can be saved as an interactive HTML file using htmlwidgets or a static PNG file using r2d3.


masonyoungblood/DynCommPhylo documentation built on Aug. 6, 2022, 3:34 a.m.