plot.hanabi: Plotting Hanabi objects

View source: R/Richness.R

plot.hanabiR Documentation

Plotting Hanabi objects

Description

S3 method to plot hanabi objects. Used by the hanabiPlot function.

Usage

## S3 method for class 'hanabi'
plot(
  x,
  alpha = 0.5,
  col = "black",
  xlab = "Total counts",
  ylab = "Unique features",
  main = "Hanabi plot",
  pch = 1,
  ...
)

## S3 method for class 'hanabi'
points(x, ...)

## S3 method for class 'hanabi'
lines(x, ...)

Arguments

x

The hanabi object to plot.

alpha

The alpha transparency of the plot lines.

col

A vector indicating a color per sample (or a vector that can be recycled that way).

xlab

Horizontal axis label.

ylab

Vertical axis label.

main

Plot title.

pch

Plot character at the tip of the lines.

...

Other parameters passed to the generic plot, points or lines functions.

Author(s)

Charles Plessy

See Also

Other CAGEr richness functions: hanabi, hanabiPlot()


charles-plessy/CAGEr documentation built on Oct. 27, 2024, 10:11 p.m.