SAtree: Tree with sampled ancestors represented as zero-length edges

View source: R/SAtree.R

SAtreeR Documentation

Tree with sampled ancestors represented as zero-length edges

Description

Converts a phylo object to SAtree, without modification of tip labels.

Usage

SAtree(tree, complete = TRUE)

Arguments

tree

Phylo object.

complete

Whether the tree is complete. Default TRUE. If the tree is not complete, then all fossil tips correspond to fossil samples, otherwise only sampled ancestors are considered samples.


fossilsim/fossilsim documentation built on April 23, 2024, 3:16 p.m.