plotPaintedWhales: Plotting the whale phylogeny and coloring its clades

View source: R/plotPaintedWhales.R

plotPaintedWhalesR Documentation

Plotting the whale phylogeny and coloring its clades

Description

plotPaintedWhales plots the phylogeny from Steeman et al (2011), coloring the Dolphins (Delphinidae), porpoises (Phocoenidae), the Mysticetes, the baleen whales (Balaenopteridae), and the Beaked whales (Ziphiidae).

Usage

plotPaintedWhales(
  show.legend = TRUE,
  direction = "rightwards",
  knitr = FALSE,
  ...
)

Arguments

show.legend

Logical indicating if clade legend should be shown.

direction

Phylogeny plotting direction. Should be set to "rightwards"

knitr

Logical indicating if plot is intended to show up in RMarkdown files made by the Knitr R package. (the default) or "leftwards".

...

other arguments to be passed to phytools::plotSimmap

Value

The whale phylogeny, with branch lengths being colored by a major whale taxonomic group.

Author(s)

Matheus Januario, Jennifer Auler

References

Steeman, M. E., Hebsgaard, M. B., Fordyce, R. E., Ho, S. Y., Rabosky, D. L., Nielsen, R., ... & Willerslev, E. (2009). Radiation of extant cetaceans driven by restructuring of the oceans. Systematic biology, 58(6), 573-585.

See Also

help page from phytools::plotSimmap

Examples

plotPaintedWhales(knitr = TRUE)


evolved documentation built on April 3, 2025, 9:23 p.m.