library_size: Normalizes abundance data in an 'otu_table' using library...

View source: R/library_size.R

library_sizeR Documentation

Normalizes abundance data in an otu_table using library size. Function from the phylosmith-package.

Description

Transform abundance data to equal counts using library size and the geometric mean, i.e. proportional data.

Usage

library_size(phyloseq_obj)

Arguments

phyloseq_obj

A phyloseq-class object. It must contain sample_data() with information about each sample, and it must contain tax_table()) with information about each taxa/gene.

Value

phyloseq-object

Examples

library_size(soil_column)

schuyler-smith/phyloschuyler documentation built on Aug. 16, 2024, 5:36 a.m.