Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • R_Beth
    Junior Member
    • Apr 2017
    • 1

    #1

    Linear Combinations in DESeq2 design

    Hello,

    I have an RNAseq experiment where I am studying longterm effects from a pregnancy condition in mice. Although there are expression similarities between littermates (observed on my bioplot and sample-to-sample dendrograms), long-term metabolic responses within a litter vary. I would like to know what genes are changes with the pregnancy condition but regress out the changes due to different litters. Because the group is a pregnancy condition, “MNR” and controls cannot be in the same litter, resulting in two of my variables being a linear combination.

    The summarized experiment is the following:
    ID Group Litter_alph
    C1 Control b
    C3 Control c
    C7 Control c
    C6 Control d
    C4 Control d
    C8 Control d
    C5 Control e
    C2 Control e
    I9 MNR a
    I5 MNR f
    F2 MNR f
    T6 MNR g
    F3 MNR g
    T3 MNR h
    T7 MNR i
    T5 MNR i
    I1 MNR i
    T4 MNR j
    T2 MNR k
    I6 MNR k
    F4 MNR l
    I2 MNR l
    I3 MNR l
    I4 MNR l
    I7 MNR m
    T1 MNR n
    F1 MNR n
    T8 MNR n
    I8 MNR o

    Here is an example of that command:
    > design(ddsMF) <- formula(~ Litter_alph + Group)

    Error in checkFullRank(modelMatrix) :
    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.

    I’ve tried to work around this by (see http://seqanswers.com/forums/showthread.php?t=47881)

    > m <- model.matrix(~ID:Litter_alph + Group, se)
    > m_use <- m[ , colSums(m) > 0]
    > design(dds) <- ~ Group
    > dds <- estimateSizeFactors(dds)
    > dds <- estimateDispersionsGeneEst(dds, modelMatrix=m_use)

    Error in eval(expr, envir, enclos) : inv(): matrix seems singular

    Is there anyways to work around these issue and regress out litter effects? Any help would be appreciated!

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, Yesterday, 11:13 AM
0 responses
21 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, Yesterday, 10:48 AM
0 responses
18 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-15-2026, 10:52 AM
0 responses
36 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-14-2026, 05:39 AM
0 responses
42 views
0 reactions
Last Post SEQadmin2  
Working...