physeq.convert.rel: Convert counts to relative abundance.

physeq.convert.relR Documentation

Convert counts to relative abundance.

Description

Converts taxa counts stored in phyloseq object into taxa relative abundance

Usage

physeq.convert.rel(physeq, warning.in = TRUE)

Arguments

physeq

input phyloseq object

warning.in

TRUE or FALSE. If total relative abundance for a sample does not equal 1, should an error be issued?

Value

Returns both a phyloseq object and the OTU table as a dataframe where counts are replaced by relative abundance.


SarahAsbury/retainresolve documentation built on Feb. 20, 2023, 7:48 a.m.