ANI.histogram: Construct a histogram using ANI values

View source: R/anitools.R

ANI.histogramR Documentation

Construct a histogram using ANI values

Description

This function constructs a histogram using ANI values

Usage

ANI.histogram(
  bactaxRObject,
  bindwidth = 0.01,
  xmin = 79,
  xmax = 100,
  xline = NULL,
  xlinecol = "#20A387FF",
  xlinetype = "dashed"
)

Arguments

bactaxRObject

A bactaxRObject

xmin

Minimum value for the X-axis. Defaults to 79 (ANI).

xmax

Maximum value for the X-axis. Defaults to 100 (ANI).

xline

Numeric value (or vector of numeric values) at which to draw vertical line(s) along the X-axis (i.e., ANI values). Defaults to NULL (no vertical lines).

xlinecol

Character (or vector of characters) corresponding to ggplot2 color(s) for xline. Defaults to "#20A387FF".

xlinetype

Character (or vector of characters) corresponding to ggplot2 line type(s) for xline. Defaults to "dashed".

binwidth

Width of bins in the histogram. Defaults to 0.01 (ANI).

Value

A ggplot2 object


lmc297/bactaxR documentation built on Feb. 6, 2024, 7:41 p.m.