dataf_parsr {treestartr}R Documentation

Detect file format of taxon file

Description

Detect file format of the total taxon list (molecular, morphological, and stratigraphic) and maximum age of fossil, see RevBayes total -evidence fossil file for an example of this.

Usage

dataf_parsr(dataf)

Arguments

dataf

A data frame with one column containing the taxon name of tips in phylogenetic tree. Optionally, a second column can indicate the maximum age of the tip. If the tip is extant, use 0.0 as the age. Can be CSV or TSV.

Value

tax_frame Dataframe containing the total set of tips on the tree

Examples

## Not run: tax_frame <- dataf_parsr(dataf)

[Package treestartr version 0.1.0 Index]