Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • imsharmanitin
    Postdoc Cancer Bioinformatics
    • Dec 2014
    • 17

    #1

    DESeq2 model design: dose and time effect

    i have three samples each with 3 biological replicates i.e. one control and other at dose 12ug/ml and 25ug/ml at 24hr

    > library('DESeq2')

    > directory<-"./data"

    > sampleFiles <- grep("Htseq",list.files(directory),value=TRUE)

    > sampleCondition<-c("treated","treated","treated","treated","treated","treated","untreated","untreated","untreated")

    > sampleGroup <-c ("A","A","A","B","B","B","C","C","C")

    > sampleTable<-data.frame(sampleName=sampleFiles, fileName=sampleFiles, condition=sampleCondition, group=sampleGroup)

    > sampleTable

    sampleName fileName condition group
    1 24h_12ug_1.count 24h_12ug_1.count treated A
    2 24h_12ug_2.count 24h_12ug_2.count treated A
    3 24h_12ug_3.count 24h_12ug_3.count treated A
    4 24h_25ug_1.count 24h_25ug_1.count treated B
    5 24h_25ug_2.count 24h_25ug_2.count treated B
    6 24h_25ug_3.count 24h_25ug_3.count treated B
    7 24h_ctrl_1.count 24h_ctrl_1.count untreated C
    8 24h_ctrl_2.count 24h_ctrl_2.count untreated C
    9 24h_ctrl_3.count 24h_ctrl_3.count untreated C

    what should be good design if i want to see the differential expressed genes between treated vs untreated as well between different groups ?

    ddsHTSeq<-DESeqDataSetFromHTSeqCount(sampleTable=sampleTable, directory=directory, design=~group)
    OR
    ddsHTSeq<-DESeqDataSetFromHTSeqCount(sampleTable=sampleTable, directory=directory, design=~condition)

    what will be the difference between the two designs?


    I tried the following design but it gave me error

    ddsHTSeq<-DESeqDataSetFromHTSeqCount(sampleTable=sampleTable, directory=directory, design=~group + condition + condition:group)

    Error in DESeqDataSet(se, design = design, ignoreRank) :
    the model matrix is not full rank, so the model cannot be fit as specified.
    one or more variables or interaction terms in the design formula
    are linear combinations of the others and must be removed



    how will the design will change if i add three samples each with 3 biological replicates i.e. one control and other at dose 12ug/ml and 25ug/ml at 6hr
    Last edited by imsharmanitin; 08-11-2015, 08:05 AM.
  • Michael Love
    Senior Member
    • Jul 2013
    • 333

    #2
    Refer to https://www.biostars.org/p/154250/ for answer.
    Last edited by GenoMax; 08-12-2015, 07:01 AM. Reason: Clarified that question has been answered

    Comment

    Latest Articles

    Collapse

    • SEQadmin2
      Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
      by SEQadmin2



      Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

      Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
      ...
      10-14-2026, 09:55 AM
    • SEQadmin2
      New Genomics Technologies Take Aim at Long-Standing Limits
      by SEQadmin2


      Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

      We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
      ...
      09-28-2026, 10:25 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 10-22-2026, 11:13 AM
    0 responses
    29 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-22-2026, 10:48 AM
    0 responses
    21 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-15-2026, 10:52 AM
    0 responses
    38 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-14-2026, 05:39 AM
    0 responses
    45 views
    0 reactions
    Last Post SEQadmin2  
    Working...