Question: Should edgeR-GLM on single cell RNA data be performed on the counts or normalized data?
gravatar for amckenz
15 months ago by
amckenz0 wrote:

I am asking a question relevant to this previous bioconductor-support question: modeling zero-dominated RNA-seq with voom/limma and hurdle models (pscl)

I am wondering: is it better to perform edgeR-GLM on single cell data on the original counts or on normalized data, potentially normalized using scran? 

For clarity, below is the pipeline I am currently planning to use. I am wondering if I should perform the glmFit and estimateDisp steps on the counts or the normalized data. It seems to me that I should do it on the counts, because as far as I can tell this is what is typically done for edgeR, but I want to be sure. 

disp = estimateDisp(counts, design, robust = TRUE)
fit = glmFit(counts, design = design, dispersion = disp)
contrast_matrix = makeContrasts(MAIN-OTHERS, levels = as.factor(groups)

fit2 = glmLRT(fit, contrast_matrix)

toptable = topTags(fit2, adjust.method = "BH", = "none", n = nrow(fit2))

ADD COMMENTlink modified 15 months ago by davis90 • written 15 months ago by amckenz0
gravatar for davis
15 months ago by
United Kingdom
davis90 wrote:

You should use the counts with edgeR.

scran computes size-factors for normalization comparable to those from TMM, but with some smart adjustments to appropriately compute size factors from scRNA-seq data with lots of dropouts. As such, size factors from scran are used in an edgeR workflow in the same way as TMM size factors or similar would be. 

If you are using scran with an SCESet object for the normalization, then checkout the "convertTo" function to produce a DGEList object ready for analysis with edgeR.


ADD COMMENTlink modified 15 months ago • written 15 months ago by davis90
gravatar for Steve Lianoglou
15 months ago by
Steve Lianoglou12k wrote:

You should take a look at scran.

ADD COMMENTlink written 15 months ago by Steve Lianoglou12k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 319 users visited in the last hour