plot_rarefy2: Visualize rarefaction curve

plot_rarefy2R Documentation

Visualize rarefaction curve

Description

plot_rarefy visualizes a coverage-based rarefaction.

Usage

plot_rarefy2(
  ps_obj,
  plot_rarefied_point = TRUE,
  plot_slope = FALSE,
  linetype = 1
)

Arguments

ps_obj

Phyloseq object.

plot_rarefied_point

Logical. Specify whether rarefied reads are plotted.

plot_slope

Logical. Specify whether tangent lines are plotted.

linetype

Numeric or character. Specify the line type of the tangent lines.

Value

ggplot object (g_rare). User may further edit the figure using ggplot2.

Examples

# plot_rarefy(ps_obj)

ong8181/macam documentation built on Oct. 15, 2024, 7:04 a.m.