Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • evenstar
    Junior Member
    • Apr 2013
    • 1

    #1

    DESeq2 design error

    Hi,

    I am trying to run DESeq2 using the "Differential analysis of count data ~ the DESeq2 package provided in the bioconductor website. I want to do an Multi-factor design. I created my count files using HTseq and created a combined table from all the count files.

    However I am running in the following error after this step:

    Code:
    > dds <- DESeqDataSetFromMatrix(countData = countDATA,
                                 colData = coldata,
                                 design = ~ condition + treatment )
    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
    If I try to run the function using only design = ~ condition everything works just fine.

    my coldata table:
    Code:
    row.names	condition	type	treatment	autoAntibodies
    HS06	        0	0	0	0
    HS07        	0	0	0	0
    HS10        	0	0	0	0
    HS15	        0	0	0	0
    HS16	        0	0	0	0
    HS17	        0	0	0	0
    RITIS01	1	2	1	1
    RITIS02	1	2	2	1
    RITIS07	1	2	1	1
    RITIS09	1	1	1	2
    RITIS10	1	2	2	1
    RITIS12	1	1	1	2
    RITIS14	1	2	1	1
    RITIS16	1	1	1	1
    I would like to create a full design which takes all the factors into account (condition, type, treatment and autoAntibodies). Could you please explain why the above design does not work.

    Thanks,
    Even
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    If "type", "treatment", and "autoAntibodies" are factors, then "condition" is dictated by them.

    Comment

    Latest Articles

    Collapse

    • kinpict.com
      Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
      by kinpict.com
      The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
      Today, 06:37 PM
    • SEQadmin2
      16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
      by SEQadmin2





      NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
      10-30-2026, 06:46 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 11-12-2026, 07:59 AM
    0 responses
    27 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 11-05-2026, 09:25 AM
    0 responses
    35 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 11-03-2026, 11:54 AM
    2 responses
    56 views
    0 reactions
    Last Post kinpict.com  
    Started by SEQadmin2, 10-28-2026, 09:57 AM
    0 responses
    175 views
    0 reactions
    Last Post SEQadmin2  
    Working...