Entering edit mode
prat
•
0
@prat-10026
Last seen 5.4 years ago
How are multiple conditions/comparisons done in v1.16 using lfcShrink? Using the example from the package, eg.
cnts <- matrix(rnbinom(n=1500, mu=100, size=1/0.5), ncol=15) cond <- factor(rep(1:3, each=5)) # object construction dds <- DESeqDataSetFromMatrix(cnts, DataFrame(cond), ~ cond) # standard analysis dds <- DESeq(dds) res <- results(dds) # moderated log2 fold changes resLFC_1 <- lfcShrink(dds, coef=2, res=res) resLFC_2 <- lfcShrink(dds, coef=3, res=res)
The raw/adj p-values are the same, what's the correct way?
Thanks!