SRS_curve_pq: Scaling with ranked subsampling (SRS) curve of phyloseq...

View source: R/plot_functions.R

SRS_curve_pqR Documentation

Scaling with ranked subsampling (SRS) curve of phyloseq object

Description

lifecycle-experimental

A wraper of SRS::SRScurve() function.

Usage

SRS_curve_pq(physeq, clean_pq = FALSE, ...)

Arguments

physeq

(required): a phyloseq-class object obtained using the phyloseq package.

clean_pq

(logical): Does the phyloseq object is cleaned using the clean_pq() function?

...

Other arguments passed on to SRS::SRScurve()

Value

A plot

Examples

if (requireNamespace("SRS")) {
  SRS_curve_pq(data_fungi_mini,
    max.sample.size = 200,
    rarefy.comparison = TRUE, rarefy.repeats = 3
  )
  SRS_curve_pq(data_fungi_mini, max.sample.size = 500, metric = "shannon")
}

MiscMetabar documentation built on Oct. 8, 2024, 1:07 a.m.