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)

HuaZou/MicrobiomeAnalysis documentation built on Dec. 12, 2023, 10:37 a.m.