hi, thanks for your answer. I did not reversed the comparison! For the type of treatment I have applied, genes are either not affected or are down-regulated.. So here is how I am doing the analysis.
x <- read.delim("counts.txt", stringsAsFactors=FALSE)
group <- (c(1,1,2,2)) # Group 2 is the treated and group 1 is the control.
genes <- read.delim("genes.txt")
y <- DGEList(counts=x, group=group, genes=genes, lib.sizes <- c(500000,600000,500000,650000)
y <- calcNormFactors(y, method="TMM") # or "RLE" or "none" or "upper-quartile"
y <- estimateCommonDisp(y)
et <- exactTest(y, pair=c("1", "2" )) # it is 2 (treated) vs 1 (control). With TMM, upperquartile and RLE i have similar results but some genes are up-regulated and they should not.. with « none » all genes are down-regulated or not affected. Then since « none » is not acceptable, I normalized on total counts like this
norm.factors <- (sum(y$samples$lib.size)/nrow(y$samples))/ y$samples$lib.size
y <- DGEList(counts=x, group=group, genes=genes, lib.sizes <- c(500000,600000,500000,650000), norm.factors <- (norm.factors)
y <- estimateCommonDisp(y)
et <- exactTest(y, pair=c("1", "2" )) # gene are either down-regulated or not affected as expected
Again as you you can see I did not reversed the comparison, I don't think there are errors in the script but maybe I am wrong!? I wonder why there is so much difference in the results if I use total counts normalization, and this kind of normalization is acceptable!?
nb same results if do not put directly the library size into the dgelist object
I have a similar issue, which is how to check if the inhibition of transcription worked. Could you please share how you did the normalisation and analysis?