gmycSimulatedTree: Simulate tree for GMYC

Description Usage Arguments Author(s)

Description

This function is a fork of GMYC.simulated.tree from the P2C2M.GMYC package and graft the speciation and coalescent tree and correct the branch lengths.

Usage

1
gmycSimulatedTree(SpeciationTree, SpeciesResult)

Arguments

SpeciationTree

tree

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)

Scale

should tree be scaled to unit deepth? (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.