DESeq2 design formula and lfcShrink() questions
1
0
Entering edit mode
guanwang179 ▴ 10
@guanwang179-22258
Last seen 4.5 years ago

Hi there,

Just got a couple of questions for DESeq2:

  1. To build a design including paired samples (i.e. Subject) and batch variables (as estimated by SVA, i.e. SV1 and SV2), and plotting SV1 and SV2 seems to resemble batch processing on different flowcells, can the design formula be built as ~Subject + SV1 + SV2 + Condition?

  2. Would the lfcShrink () coupled with lfcThreshold be comparable to the limma treat() by specifying the same lfcThreshold? therefore to enable a more direct comparison between RNA-seq (DGE using DESeq2) and microarray (DGE using limma) data for the same samples.

Thanks Guan

deseq2 • 634 views
ADD COMMENT
0
Entering edit mode
@mikelove
Last seen 6 hours ago
United States

1) Are subjects contained within the same batch? If so, that's good and then you can just use ~subject + condition, because the sample pairing obviates the need to do batch modeling. In fact, adding SVs would be bad because these will be nearly collinear with subject and induce problems in the linear model fitting.

2) Yes, lfcShrink and lfcThreshold is conceptually similar, although we are bounding the rate of an event that the LFC is false sign or that it is smaller in absolute value than theta (we call this False Sign or Smaller, FSOS), and treat() is performing null hypothesis testing with a null region followed by a FDR bound.

ADD COMMENT
0
Entering edit mode

Hi Michael,

By plotting the SV1 and SV2 over the Subjects following the instructions in section 8.1 of the vignette (i.e. https://bioconductor.org/packages/release/workflows/vignettes/rnaseqGene/inst/doc/rnaseqGene.html) and comparing the plots to the "SV1 vs SV2" plot which seems to resemble the batch processing during sequencing, and yes, SV1 seems also to capture variations correlated to the Subjects that are very similar to the sequencing batches. I hope you think this assessment is sensible. I'll then just use ~subject + condition as suggested. Thanks for your help.

Guan

ADD REPLY

Login before adding your answer.

Traffic: 735 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6