View source: R/calibrations_extract.R
extract_calibrations_phylo | R Documentation |
phylo
or multiPhylo
object with branch lengths proportional to time.This function extracts node ages for each taxon
pair given in input$tip.labels
. It applies the congruification method
described in Eastman et al. (2013) \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1111/2041-210X.12051")},
implemented with the function geiger::congruify.phylo()
, to create a
data.frame
of taxon pair node ages that can be used as secondary calibrations.
extract_calibrations_phylo(input = NULL, each = FALSE)
input |
A |
each |
Boolean, default to |
An object of class calibrations
, which is a data.frame
(if
each = FALSE
) or a list of data.frames
(if each = TRUE
) of node
ages for each pair of taxon names. You can access the input
data from which
the calibrations were extracted with attributes(output)$chronograms.
Eastman et al. (2013) "Congruification: support for time scaling large phylogenetic trees". Methods in Ecology and Evolution, 4(7), 688-691, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1111/2041-210X.12051")}.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.