Function to compute the SDM supertree (Criscuolo et al. 2006) from a
datelifeResult object
Source: R/datelife_sdm.R
datelife_result_sdm_phylo.RdFunction to compute the SDM supertree (Criscuolo et al. 2006) from a
datelifeResult object
Arguments
- datelife_result
A
datelifeResultobject, output ofget_datelife_result().- weighting
A character vector indicating how much weight to give to each tree in
inputduring the SDM analysis. Choose one of:- weighting = "flat"
All trees have equal weighting.
- weighting = "taxa"
Weight is proportional to number of taxa.
- weighting = "inverse"
Weight is proportional to 1 / number of taxa.
- ...
Arguments passed on to
summary_matrix_to_phylosumm_matrixA summary patristic distance matrix from sdm or median. See details.
total_distanceBoolean. If TRUE it will divide the matrix in half, if FALSE it will take it as is.
useA character vector indicating what type of age to use for summary. One of the following
- mean
It will use the mean of the node age distributions.
- min
It will use the minimum age from the node age distributions.
- max
Choose this if you wanna be conservative; it will use the maximum age from the node age distributions.
target_treeA phylo object. Use this in case you want a particular backbone for the output tree.
datelife_queryA
datelifeQueryobject, output ofmake_datelife_query().