norm_by_raref {mina} | R Documentation

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

### Description

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

### Usage

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

### 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.

[Package mina version 1.2.0 Index]