Usage
runMedusa(phy, richness, estimateExtinction=T, modelLimit=20, cutAtStem=T, startR = 0.05, startE = 0.5, ...)
summaryMedusa(phy, richness, out, cutoff=4, plotTree=T, useCorrection=F, cutAtStem=T)
Arguments
phy
Phylogenetic tree in phylo format
richness
A table with taxon names in column 1 and extant diversities in column 2
estimateExtinction
If false, fits a series of pure-birth models; otherwise birth-death
models are used
modelLimit
Maximum number of rate shifts to place on the tree
cutAtStem
When rate shifts are placed on branches in Medusa, they could be
placed at either the beginning or the end of the stem branch. cutAtStem=T cuts at the
beginning of the stem branch, while cutAtStem=F cuts at the end.
...
Additional arguments for nlm
out
Output from medusa, sent to summaryMedusa to compile results
cutoff
Cutoff value for differences in AIC scores when comparing models. More complex models
with an AIC score more than this number of units lower than simpler models are retained.
plotTree
Plot phylogenetic tree with branches under different models shown in different colors.
useCorrection
If true, use AICc instead of AIC
startR
Starting guess for net diversification rate. Try tweaking if Medusa crashes
startE
Starting guess for relative extinction rate. Try tweaking if Medusa crashes