getEdges: Returns edges (vertex names and edge weights) for a tree

Description Usage Arguments Examples

Description

Returns a matrix, where each row contains information about an edge (two vertex names and edge weight, if present) of the tree.

Usage

1
getEdges(ig, tree)

Arguments

ig

the graph representation of the data tree (in igraph format)

tree

the data tree (in data frame format)

Examples

1
2
3
data(sbTree)
ig = treeToIG(sbTree)
getEdges(ig, sbTree)

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