This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Statistical testing for differential expression in DESeq

I am a bit confused about the test DESeq uses to call differentially expressed genes. I realize that the read count distribution is a negative binomial in the reference and test conditions, but it is unclear what test is done between the two distributions to call differentially expressed genes.

rna-seq next-gen

1 answer

It fits the data with a negative binomial and performs a Wald test (or a likelihood ratio test, depending on what you specify).

Hi Devon,

Here is my code:

data1<-as.matrix(df)


##do differential expression
library(DESeq2)
dds <- DESeqDataSetFromMatrix(countData = data1,colData = pdata,design = ~ condition )
#reference is group2,so up means up in group1 and down means down in group1.


dds$condition <- relevel(dds$condition, "group2")
dds=DESeq(dds)
res <- results(dds)

I wanted to know what test is used in this by default "Wald test or LRT test or no test " because I am not specifying anything in my command.

Log in to answer this question.