norm_by_raref: Function for normalization by rarefying the samples into the...

Description Usage Arguments Value

View source: R/norm_tab.R

Description

Function for normalization by rarefying the samples into the same depth, modified from phyloseq, find it here.

Usage

1

Arguments

x

A quantitative table with sample in columns and compositions in rows.

depth

The depth for rarefying, 1000 by default.

replace

Whether to sample with replacement (TRUE) or without replacement (FALSE). Default TRUE for computational efficiency.

Value

A normalized quantitative table.


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