Question: DESeq2 removing columns from model matrix implication
0
gravatar for gregory.l.stone
2.5 years ago by
gregory.l.stone10 wrote:

It is my understanding that when making comparisons both within and between groups with paired samples, but there are a differing number of samples for each condition, the model matrix must be adjusted as such: C: DESeq2 paired and multi factor comparison

 

I am confused as to what removing elements from the model matrix means. Does this mean that I am losing information from paired samples that don't have a counterpart in the other condition? Am I throwing away information?

I apologize if my question is phrased poorly--I'm pretty confused and would appreciate any clarification. Thank you!

 

ADD COMMENTlink modified 2.5 years ago by Michael Love25k • written 2.5 years ago by gregory.l.stone10
Answer: DESeq2 removing columns from model matrix implication
0
gravatar for Michael Love
2.5 years ago by
Michael Love25k
United States
Michael Love25k wrote:

What's happening is that you are removing columns, corresponding to coefficients to estimate which have no samples for which to estimate those coefficients. Hence, the model matrix has a column of zeros. Ones in the column correspond to samples which will be given a 'beta' in the formula.

So it's definitely not throwing away information. If you tried to fit the model without removing those columns, the software would stop and say some version of: "I can't fit this model because there are no samples to estimate one or more coefficients."

ADD COMMENTlink written 2.5 years ago by Michael Love25k

Great, thank you so much for the clarification

ADD REPLYlink written 2.5 years ago by gregory.l.stone10
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 103 users visited in the last hour