getEdges: Get edges

Description Usage Arguments Details References Examples

Description

Return all children edges from a node, or all edges connected to tips based on three different methods

Usage

1
getEdges(tree, node = NULL, tips = NULL, type = 1)

Arguments

tree

phylogenetic tree (ape class)

node

number indicating node

tips

tip labels or numbers

type

1, 2 or 3 indicating which method to use

Details

If node specified, all edges that descend from specified node are returned

Otherwise, if tips are specified edges are returned based on one of three methods: Type:

1 – phylogeny consisting solely of the tips, default

2 – edges from taxon tips to terminal node

3 – edges unique to tips

References

No references yet! https://github.com/DomBennett/MoreTreeTools.

Examples

1
# example.var <- exampleFun (test.data)

DomBennett/MoreTreeTools documentation built on May 6, 2019, 2:51 p.m.