getMRCAdates: Getting the date of the most-recent common ancestor (MRCA)...

View source: R/phylo__getMRCAdates.R

getMRCAdatesR Documentation

Getting the date of the most-recent common ancestor (MRCA) from a Bactdating tree

Description

Extracting the MRCA date from function bactdate's output.

Usage

getMRCAdates(tr_dated)

Arguments

tr_dated

A dated tree generated by function bactdate of package Bactdating (https://github.com/xavierdidelot/BactDating).

Value

The MRCA's date in a named vector (lower and upper bounds and the mean date).


wanyuac/handyR documentation built on June 10, 2024, 1:24 a.m.