phyloseq2edgeR: Convert phyloseq data to edgeR 'DGEList' object

View source: R/DA-edgeR.R

phyloseq2edgeRR Documentation

Convert phyloseq data to edgeR DGEList object

Description

This function convert phyloseq::phyloseq object to edgeR::DGEList object, can then can be used to perform differential analysis using the methods in edgeR.

Usage

phyloseq2edgeR(ps, ...)

Arguments

ps

a phyloseq::phyloseq object.

...

optional, additional named arguments passed to edgeR::DGEList(). Most users will not need to pass any additional arguments here.

Value

A edgeR::DGEList object.

Examples

data(caporaso)
dge <- phyloseq2edgeR(caporaso)

yiluheihei/microbiomeMarker documentation built on Nov. 5, 2023, 7:19 a.m.