treeToIG: Process the tree graph

Description Usage Arguments See Also

Description

Processes the tree into an igraph object with appropriate vertex information, graph type, and edge weights.

Usage

1
treeToIG(tree, vertexinfo = NULL, edgeweights = 1, isDirected = FALSE)

Arguments

tree

the data tree (in data frame format)

vertexinfo

(default NULL) either names of columns in the tree which should be added to the database as vertex information or a data frame with information for all vertices such that the first column contains vertex names.

edgeweights

(default 1) name of a column which contains edge weights

isDirected

(default FALSE) should the graph be a directed graph?

See Also

http://www.r-project.org for iGraph information


dicook/phyViz documentation built on May 15, 2019, 8:24 a.m.