Description Usage Arguments Author(s) Examples
It can accept a list of new padj values matching the
same dimmensions than the current vector.
It can calculate the lfdr
based on fdrtool::fdrtool function.
1 2 3 4 5 6 7 8 9 | degDefault(object)
degCorrect(object, fdr)
## S4 method for signature 'DEGSet'
degDefault(object)
## S4 method for signature 'DEGSet'
degCorrect(object, fdr)
|
object |
DEGSet |
fdr |
It can be |
Lorena Pantano
Lorena Pantano
1 2 3 4 5 6 7 8 | library(DESeq2)
library(dplyr)
dds <- makeExampleDESeqDataSet(betaSD=1)
colData(dds)[["treatment"]] <- sample(colData(dds)[["condition"]], 12)
design(dds) <- ~ condition + treatment
dds <- DESeq(dds)
res <- degComps(dds, contrast = list("treatment_B_vs_A"))
# library(fdrtools); degCorrect(res, fdr = "lfdr-stat")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.