View source: R/tree_from_taxonomy.R
date_with_pbdb | R Documentation |
This will take a topology, look up information about fossils for taxa on the tree, and use paleotree::timePaleoPhy()
to compute branch lengths.
date_with_pbdb(phy, recent = FALSE, assume_recent_if_missing = TRUE)
phy |
A |
recent |
If |
assume_recent_if_missing |
If |
A dated tree.
taxa <- c( "Archaeopteryx", "Pinus", "Quetzalcoatlus", "Homo sapiens", "Tyrannosaurus rex", "Megatheriidae", "Metasequoia", "Aedes", "Panthera" ) phy <- tree_from_taxonomy(taxa, sources = "The Paleobiology Database")$phy # end donttest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.