Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DESeq2 multi-factor design

    Hi all,

    I have just started using DESeq2 using a multi-factor approach. As I'm new to this (and to statistics), I was hoping to get feedback / corrections on what I think the analysis should look like:

    I have the following colData:
    Code:
    sample	genotype	treatment	library_batch
    S1	WT	vehicle	B1
    S2	WT	vehicle	B2
    S3	WT	vehicle	B1
    S4	WT	vehicle	B2
    S5	WT	Drug	B2
    S6	WT	Drug	B1
    S7	WT	Drug	B2
    S8	KO	vehicle	B1
    S9	KO	vehicle	B2
    S10	KO	vehicle	B1
    S11	KO	vehicle	B2
    S12	KO	Drug	B1
    S13	KO	Drug	B2
    S14	KO	Drug	B1
    S15	KO	Drug	B2
    Blocking for library batch effects, I am interested in finding the following DE genes:
    Q1) DE genes between vehicle-treated "WT" and "KO" (i.e. the 'baseline' difference);
    Q2) Genes that are DE following treatment within each genotype ("WT" and "KO");
    Q3) Genes that show a genotype-dependent response to treatment.

    Looking through the DESeq2 tutorials and form posts, Q1 and Q2 would probably be easiest addressed by created a 'genotype_treatment' factor and working with contrast:

    Code:
    colData$condition <- paste(colData$genotype, colData$treatment, sep="_")
    and using a design
    Code:
    design = ~ library_batch + condition
    to extract results as:
    Q1:
    Code:
    res1 <- results(dds, contrast=c("condition", "KO_vehicle", "WT_vehicle"))
    Q2.1:
    Code:
    res2wt <- results(dds, contrast=c("condition", "WT_Drug", "WT_vehicle"))
    Q2.2:
    Code:
    res2ko <- results(dds, contrast=c("condition", "KO_Drug", "KO_vehicle"))
    As for Q3, I would then repeat the analysis including an interaction term:

    Code:
    design = ~ library_batch + genotype*treatment
    to extract results as:

    Code:
    res3 <- results(dds, name="genotypeKO.treatmentvehicle")
    Is this correct? I was wondering if there is a way to do this without running 2 separeate analysis designs...?

    On a more general note, can anyone recommend a resource to get more familiar with these design formulas and what they 'mean'?
    Last edited by PMRoberts; 11-16-2015, 03:48 PM.

  • #2
    Q1/2 looks very similar to what we've done with our RNASeq experiments. Mike Love seemed to think the approach was correct:

    Comment

    Latest Articles

    Collapse

    • seqadmin
      Current Approaches to Protein Sequencing
      by seqadmin


      Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
      04-04-2024, 04:25 PM
    • seqadmin
      Strategies for Sequencing Challenging Samples
      by seqadmin


      Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
      03-22-2024, 06:39 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, 04-11-2024, 12:08 PM
    0 responses
    25 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 10:19 PM
    0 responses
    27 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 09:21 AM
    0 responses
    24 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-04-2024, 09:00 AM
    0 responses
    52 views
    0 likes
    Last Post seqadmin  
    Working...
    X