RNA-Seq differential gene expression workflow
DESeq2: Differential Expression AnalysisDESeq2 is one of the most widely used Bioconductor packages for differential gene expression analysis from RNA-Seq count data. It models counts using the negative binomial distribution and applies shrinkage estimation to improve fold-change and dispersion estimates.
~ condition or
~ batch + condition.
library(DESeq2)
counts <- read.csv("counts.csv", row.names = 1)
coldata <- read.csv("metadata.csv", row.names = 1)
dds <- DESeqDataSetFromMatrix(
countData = counts,
colData = coldata,
design = ~ condition
)
dds <- DESeq(dds)
res <- results(
dds,
contrast = c(
"condition",
"treated",
"control"
)
)
vsd <- vst(dds)
Love MI, Huber W, Anders S. (2014).
Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2.
Genome Biology, 15(12):550.
doi:10.1186/s13059-014-0550-8