get_leaf_position: Get leaf positions from a tree layout

Description Usage Arguments

Description

Takes a tree, returns a vector with names describing the leaves and entries giving the position of that leaf in the tree layout.

Usage

1
get_leaf_position(tree, ladderize)

Arguments

tree

A tree of class phylo.

ladderize

FALSE for a non-ladderzied layout, TRUE or "right" for a ladderized layout, "left" for a layout ladderized the other way.


treeDA documentation built on May 2, 2019, 5:42 a.m.