rarefaction_subsample: Rarefaction subsample function, one sample, modified from a...

Description Usage Arguments Value

View source: R/norm_tab.R

Description

Rarefaction subsample function, one sample, modified from a internal function in phyloseq, find it here.

Usage

1

Arguments

x

A column of quantitative table.

depth

The depth for rarefying, 1000 by default.

replace

Whether to sample with or without replacement, TRUE by default for computational efficiency.

Value

The vector rarefied to defined depth.


Guan06/mina documentation built on Feb. 21, 2022, 11:56 a.m.