as_treenetdf.igraph {networkD3}R Documentation

Convert igraph tree to treenetdf

Description

Convert igraph tree to treenetdf

Usage

## S3 method for class 'igraph'
as_treenetdf(data, root = "root", ...)

Arguments

data

a tree network description in one of numerous forms (see details).

root

character specifying the string that should be used to name the root node

...

arguments to pass to methods.


[Package networkD3 version 0.4.1 Index]