yuleTree: Simulate tree for GMYC

Description Usage Arguments Author(s)

Description

This function is a fork of GMYC.simulated.tree from the P2C2M.GMYC package It simulates a tree under the yule (pure-birth) process with the same number of species that was delimited using the empirical dataset

Usage

1
gmycSimulatedTree(SpeciationTree, EmpiricalTree)

Arguments

SpeciesResult

a data.frame with an index for species in the first column, the number of individuals per species in the 2nd column and the nucleotide diversity (as proxy for population size) in the 3rd column (NA for species with one individual)

EmpiricalTree

Empirical tree used for species delimitation

Scale

should tree be scaled to unit depth? (default TRUE)

Author(s)

Torsten Hauffe (with code forked from Emanuel M. Fonseca and Drew J. Duckett)


thauffe/TraitGmyc documentation built on July 4, 2021, 7:37 a.m.