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")
}

adrientaudiere/MiscMetabar documentation built on July 6, 2024, 7:02 p.m.