rarefaction_subsample {mina}R Documentation

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

Description

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

Usage

rarefaction_subsample(x, depth = 1000, replace = TRUE)

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.


[Package mina version 1.2.0 Index]