| TreeAnalysis | R Documentation |
TreeAnalysis is an R6 class that stores the configuration for a
tree analysis, including the character-taxon matrix, taxon activity,
character weighting and constraints on monophyly.
discrete_matrixA "DiscreteMatrix" object.
continuous_matrixA "ContinuousMatrix" object.
methodAn object that contains configuration options for a tree analysis method.
inactive_taxaA character vector indicating the taxa to be inactivated.
outgroupA single character vector indicating the taxon to be the outgroup.
zlb_ruleA character vector indicating the rule for handling zero length branches. The options are:
maximum: collapse an interior branch of the maximum possible
length of the branch is zero;
identical_states: only collapse zero length branches if ancestor and descendant
states are the same;
minimum: collapse an interior branch if the minimum possible
length of the branch is zero (default);
discard_tree: discard all trees that must contain a zero length
branch;
spr: collapse an interior branch using subtree pruning and reconnection (SPR) operations; and
tbr: collapse an interior branch using tree bisection and reconnection (TBR) operations.
constraintsOne or more "MonophylyConstraintOptions" objects.
weightingAn object containing configuration options for character weighting.
start_treesA phylo or multiPhylo of trees to load
prior to starting the tree analysis.
holdAn integer indicating the number of trees to hold in TNT's tree buffer.
max_ramA numeric indicating the number of (binary) megabytes to allocate for use by TNT.
timeoutA positive integer indicating the number of seconds to allow a search to run for before terminating.
new()TreeAnalysis$new( method, discrete_matrix = NULL, continuous_matrix = NULL, inactive_taxa = NULL, outgroup = NULL, zlb_rule = "minimum", constraints = NULL, weighting = NULL, start_trees = NULL, hold = 100, max_ram = 16, timeout = NULL )
methodAn object that contains configuration options for the tree analysis method.
discrete_matrixA "DiscreteMatrix" object.
continuous_matrixA "ContinuousMatrix" object.
inactive_taxaA character vector indicating the taxa to be inactivated.
outgroupA single character vector indicating the taxon to be the outgroup.
zlb_ruleAn integer indicating the rule for collapsing of zero length branches. The options are:
maximum: collapse an interior branch of the maximum
possible length of the branch is zero;
identical_states: only collapse zero length branches if
ancestor and descendant states are the same;
minimum: collapse an interior branch if the minimum
possible length of the branch is zero (the default); and
discard_tree: discard all trees that must contain a zero
length branch.
spr: collapse an interior branch using subtree pruning and
reconnection (SPR) operations; and
tbr: collapse an interior branch using tree bisection and
reconnection (TBR) operations.
constraintsOne or more "MonophylyConstraintOptions" objects.
weightingAn object containing configuration options for character weighting.
start_treesA phylo or multiPhylo of trees to load
prior to starting the tree analysis.
holdAn integer indicating the number of trees to hold in TNTs tree buffer.
max_ramA numeric indicating the number of (binary) megabytes to allocate for use by TNT.
timeoutA positive integer indicating the number of seconds to allow a search to run for before terminating.
print()TreeAnalysis$print(...)
...Ignored.
queue()TreeAnalysis$queue(...)
...Ignored.
run()TreeAnalysis$run(.envir = parent.frame())
.envirThe environment that TNT has been attached to.
clone()The objects of this class are cloneable with this method.
TreeAnalysis$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.