prep_bar: Prepare data for barpot

Description Usage Arguments Value Examples

View source: R/prep_bar.R

Description

Prepare data for barpot

Usage

1

Arguments

ps

phyloseq-object

n

number of OTUs/ASVs to include

residuals

include residuals (logical). Default: TRUE

Value

returns a data.frame in long-format with a column 'OTU' (containing formatted names of each OTU) and 'value' containing either raw read counts or relative abundances (depending on what type of phyloseq was initially loaded).

Examples

1
2

wsteenhu/microbiomer documentation built on March 11, 2021, 6:05 p.m.