| phyloseq_to_edgeR | R Documentation |
Convert phyloseq OTU count data into DGEList for edgeR package
phyloseq_to_edgeR(physeq, group, method = "RLE", remove_na = TRUE, ...)
physeq |
(required) a |
group |
(required) A character vector or factor giving the experimental
group/condition for each sample/library. Alternatively, you may provide
the name of a sample variable. This name should be among the output of
|
method |
The label of the edgeR-implemented normalization
to use.
See
|
remove_na |
(logical) If TRUE, samples with NA values in the group variable will be removed. |
... |
Additional arguments passed on to |
A DGEList object. See edgeR::estimateTagwiseDisp() for more details.
if (requireNamespace("edgeR")) {
phyloseq_to_edgeR(data_fungi_mini, group = "Height")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.