Alias of mptp with method defaulting to
"single" (the single-rate PTP model), rather than mptp's own
default of "multi" (the multi-rate mPTP model).
Usage
ptp(
tree,
method = c("single", "multi"),
outgroup = NULL,
outgroup_crop = FALSE,
pvalue = 0.001,
minbr = 1e-04,
seed = as.integer(Sys.time()),
quiet = FALSE
)Arguments
- tree
A path to a Newick tree file (character) or an
read.treephyloobject. Rooted and unrooted trees are both accepted.- method
Coalescent rate model:
"multi"(default, recommended) or"single".- outgroup
Character. Name of the outgroup taxon used for rooting an unrooted tree (optional; if omitted, the longest tip branch is used).
- outgroup_crop
Logical. If
TRUE, removes the outgroup after rooting (defaultFALSE).- pvalue
Numeric. Significance threshold for the likelihood ratio test (default
0.001).- minbr
Numeric. Minimum branch length; edges shorter than this are excluded from the analysis (default
0.0001).- seed
Integer. Random seed (default: current time).
- quiet
Logical. Suppress C-level progress messages (default
FALSE).
Value
See mptp.