parse.clades {rwty}R Documentation

Rename clades for easy recall

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

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


[Package rwty version 1.0.2 Index]