plotCI: Plotting 95-percent confidence interval and dated tree in the...

View source: R/phylo__plotCI.R

plotCIR Documentation

Plotting 95-percent confidence interval and dated tree in the result of function bactdate from the R package Bactdating.

Description

Creating a tree figure with 95-percent confidence intervals of internal nodes' estimated dates. This function was modified from function plot.resBactDating in github.com/xavierdidelot/BactDating/blob/master/R/methods.R.

Usage

plotCI(x, years, ...)

Arguments

x

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

years

A sequence of years (integers) for ticks on the X axis. This vector can be created using the seq function.

Value

An object can be plotted in R.


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