species.name: Species names in a tree string

Description Usage Arguments Details Value Author(s) See Also Examples

Description

The function can be used to obtain species names from a tree string.

Usage

1

Arguments

str

a tree string in the parenthetical format

Details

The function returns the species names. If the tree string contains only the node number instead of species names, the function will return the node numbers.

Value

The function returns the species names.

Author(s)

Liang Liu lliu@uga.edu

See Also

read.tree.string

Examples

1
2
tree.string<-"(((H:4.2,C:4.2):3.1,G:7.3):6.3,O:13.5);"
species.name(tree.string)

bomeara/phybase documentation built on May 12, 2019, 11:35 p.m.