Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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

  • seqadmin
    Recent Advances in Sequencing Analysis Tools
    by seqadmin


    The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
    Yesterday, 07:48 AM
  • seqadmin
    Essential Discoveries and Tools in Epitranscriptomics
    by seqadmin




    The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
    04-22-2024, 07:01 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, Yesterday, 07:17 AM
0 responses
11 views
0 likes
Last Post seqadmin  
Started by seqadmin, 05-02-2024, 08:06 AM
0 responses
19 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-30-2024, 12:17 PM
0 responses
20 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-29-2024, 10:49 AM
0 responses
29 views
0 likes
Last Post seqadmin  
Working...
X