get_leaf_position: Get leaf positions from a tree layout

Description Usage Arguments

View source: R/plotting-functions.R

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.


jfukuyama/treeDA documentation built on May 18, 2021, 8:52 a.m.