sort_tree_tips: Sort APE Tree Tips

View source: R/sort_tree_tips.R

sort_tree_tipsR Documentation

Sort APE Tree Tips

Description

Sorts APE tree tip labels after the tree has been modified (e.g. with 'ladderize')

Usage

sort_tree_tips(tree, show_names = T)

Arguments

tree

ape tree object.

show_names

if T, shows tip labels, otherwise shows order.

Value

A list with the tip labels sorted as in the tree.

Examples

sort_tree_tips(ape::rtree(10))

jgmv/misctools documentation built on March 24, 2024, 12:05 p.m.