tip.data.plot: Plotting trees and associated data

View source: R/treePlot.R

tip.data.plotR Documentation

Plotting trees and associated data

Description

Plotting phylogenetic trees and associated data

Usage

tip.data.plot(
  xxyy,
  type = c("phylogram", "cladogram", "fan"),
  show.tip.label = TRUE,
  show.node.label = FALSE,
  rot = 0,
  tip.plot.fun = grid.points,
  edge.color = "black",
  node.color = "black",
  tip.color = "black",
  edge.width = 1,
  ...
)

Arguments

xxyy

A list created by the phyloXXYY function

type

A character string indicating the shape of plotted tree

show.tip.label

Logical, indicating whether tip labels should be shown

show.node.label

Logical, indicating whether node labels should be shown

rot

Numeric indicating the rotation of the plot in degrees

tip.plot.fun

A function used to plot the data elements of a phylo4d object

edge.color

A vector of colors in the order of edges(phy)

node.color

A vector of colors indicating the colors of the node labels

tip.color

A vector of colors indicating the colors of the tip labels

edge.width

A vector in the order of edges(phy) indicating the widths of edge lines

...

Additional parameters passed to tip.plot.fun

Value

creates a plot on the current graphics device.

Author(s)

Peter Cowan


phylobase documentation built on May 29, 2024, 11:24 a.m.