parse.clades: Rename clades for easy recall

Description Usage Arguments Value

View source: R/parse.clades.R

Description

Converts a list of clades (e.g., "1 2 3 4" as a clade) and returns a list of parsed clades, converting numbers to names using a set of trees. Called internally by the slide and cumulative analyses, not user-facing.

Usage

1
parse.clades(clades, treelist)

Arguments

clades

A list of clades, as in the first column of a cladetable in an rwty.slide or rwty.cumulative object.

treelist

A list of trees, used for getting tip names.

Value

output A list of clades with parsed tip names


danlwarren/RWTY documentation built on Sept. 5, 2021, 8:35 p.m.