drawChronosCI: Draw Confidences Intervals on Phylogenies

View source: R/drawChronosCI.R

drawChronosCIR Documentation

Draw Confidences Intervals on Phylogenies

Description

This is a low-level plotting command to draw the confidence intervals on the node of a tree as rectangles with coloured backgrounds.

Usage

drawChronosCI(
  CI,
  col95 = "#FF00004D",
  col50 = "#0000FF4D",
  height = NULL,
  legend = TRUE,
  ...
)

Arguments

CI

output from chronosCI() or a similar matrix.

col95

colour used for the 95% intervals; by default: transparent red.

col50

colour used for the 50% intervals; by default: transparent blue.

height

the height of the boxes.

legend

a logical value.

...

arguments passed to graphics::legend()

Details

The matrix CI must have four rows and as many columns as the number of nodes of the tree. The first and fourth rows give the lower and upper bounds of the 95% confidence intervals. The second and third rows give the lower and upper bounds of the 50% confidence intervals.

Author(s)

Emmanuel Paradis, Santiago Claramunt, Joseph Brown, Klaus Schliep

See Also

chronosCI()

Examples

## Not run: 
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)for the standard data sets.

## End(Not run)

josephwb/chronosCI documentation built on Jan. 30, 2023, 5:34 a.m.