#countdata
Example:
dds <- DESeq2::DESeqDataSetFromMatrix(countData, colData, design=~condition)
dds <- DESeq2::estimateSizeFactors(dds)
normalized_counts <- DESeq2::counts(dds, normalized=TRUE)

This is the gold standard for between-sample DE analysis.
September 21, 2026 at 1:45 PM
#statstab #266 When to use negative binomial and Poisson regression

Thoughts: A heated debate and condemnation of NB by @noah_greifer. Seems term confusion is also an issue in the field.

#poisson #regression #negativebinomial #countdata #overdispersion

stats.stackexchange.com/questions/65...
When to use negative binomial and Poisson regression
When would one use a negative binomial regression and when would one use Poisson regression with respect to the mean and variance?
stats.stackexchange.com
January 27, 2025 at 2:04 PM
7/
New to RNA-seq? You'll run:
dds <- DESeqDataSetFromMatrix(countData, colData, design = ~ condition)
dds <- DESeq(dds)

But 10 years in, you pause:
Are the replicates balanced?

Any hidden batch effects?

Should I use lfcShrink() before plotting?
May 1, 2025 at 1:15 PM
You can see every line of R code run:

rb.codegen.enable()
results = rb.deseq2(counts_df, meta_df, design="~ batch + condition")
R> library(DESeq2)
R> dds <- DESeqDataSetFromMatrix(countData=counts, colData=metadata, design=~ batch + condition)
R> dds <- DESeq(dds)
R> res <- results(dds, alpha=0.05)
June 12, 2026 at 1:47 PM
7/
New to RNA-seq? You'll run:
dds <- DESeqDataSetFromMatrix(countData, colData, design = ~ condition)
dds <- DESeq(dds)

But 10 years in, you pause:
Are the replicates balanced?

Any hidden batch effects?

Should I use lfcShrink() before plotting?
April 24, 2026 at 1:15 PM
Example:
dds <- DESeq2::DESeqDataSetFromMatrix(countData, colData, design=~condition)
dds <- DESeq2::estimateSizeFactors(dds)
normalized_counts <- DESeq2::counts(dds, normalized=TRUE)

This is the gold standard for between-sample DE analysis.
November 18, 2025 at 2:45 PM
7/
New to RNA-seq? You'll run:
dds <- DESeqDataSetFromMatrix(countData, colData, design = ~ condition)
dds <- DESeq(dds)

But 10 years in, you pause:
Are the replicates balanced?

Any hidden batch effects?

Should I use lfcShrink() before plotting?
September 9, 2025 at 1:15 PM
Example:
dds <- DESeq2::DESeqDataSetFromMatrix(countData, colData, design=~condition)
dds <- DESeq2::estimateSizeFactors(dds)
normalized_counts <- DESeq2::counts(dds, normalized=TRUE)

This is the gold standard for between-sample DE analysis.
April 4, 2025 at 1:45 PM
This #CrunchDAO thingy is frustrating me because I'm unfamiliar with using Python for single cell analysis. If I had the data in R, I'd be able to process and summarise it in an hour or so.

I want something that functions like tapply(countData, status, sum), and am currently doing a double for-loop
January 7, 2025 at 12:19 AM