enve.prune.dist {enveomics.R} | R Documentation |
Enveomics: Prune Dist
Description
Automatically prunes a tree, to keep representatives of each clade.
Usage
enve.prune.dist(
t,
dist.quantile = 0.25,
min_dist,
quiet = FALSE,
max_iters = 100,
min_nodes_random = 40000,
random_nodes_frx = 1
)
Arguments
t |
A phylo object or a path to the Newick file. |
dist.quantile |
The quantile of edge lengths. |
min_dist |
The minimum distance to allow between two tips.
If not set, |
quiet |
Boolean indicating if the function must run without output. |
max_iters |
Maximum number of iterations. |
min_nodes_random |
Minimum number of nodes to trigger tip-pairs nodes sampling.
This sampling is less reproducible and more computationally expensive,
but it's the only solution if the cophenetic matrix exceeds |
random_nodes_frx |
Fraction of the nodes to be sampled if more than |
Value
Returns a pruned phylo object.
Author(s)
Luis M. Rodriguez-R [aut, cre]
[Package enveomics.R version 1.9.1 Index]