Limma and creating design matrices for complex loop designs
2
0
Entering edit mode
Naomi Altman ★ 6.0k
@naomi-altman-380
Last seen 4.7 years ago
United States
In an experiment with 3 or more conditions (treatments, levels ...) it is usually necessary to have more contrasts than can be accommodated by the design matrix. That is why there is fit.contrast as well as lmFit. My approach is to loop designs is to use single channel analysis. It is simplest to pick an arbitrary condition as the reference for the design matrix, or to leave out the intercept and fit all the conditions. (This puts the condition mean in the "M" matrix.) Either way, the main purpose of this step is to get the MSE for each gene, which is required for the contrasts. Then I do all the contrasts of interest as calls to fit.contrast. My paper on using single channel analysis for loop designs can be found at http://www.stat.psu.edu/~zhao/bcc/respapers/AltmanInterface04.doc but currently it does not discuss the limma implementation of this. --Naomi At 06:21 AM 12/9/2005, michael watson (IAH-C) wrote: >Hi > >I would like to respectfully request more examples of the creation of >design matrices for complex (ie involving more than 3 samples) loop >designs using two-colour microarrays in the limma documentation. > >Although section 20.5 does give an example, with 5 RNA samples, one of >these is a pool which makes an obvious reference when creating the >design matrix as it is a coefficent we are not interested in estimating. >However, other loop designs may not contain such an obvious sample, and >I am struggling to figure out a way to create a design matrix for my >current design that allows all contrasts of interest. In fact, at >present, I have to create one design matrix to get some of the contrasts >and another to get the rest. Is this a valid approach? > >Many thanks > >Mick > >_______________________________________________ >Bioconductor mailing list >Bioconductor at stat.math.ethz.ch >https://stat.ethz.ch/mailman/listinfo/bioconductor Naomi S. Altman 814-865-3791 (voice) Associate Professor Dept. of Statistics 814-863-7114 (fax) Penn State University 814-865-1348 (Statistics) University Park, PA 16802-2111
limma limma • 969 views
ADD COMMENT
0
Entering edit mode
Naomi Altman ★ 6.0k
@naomi-altman-380
Last seen 4.7 years ago
United States
Correction to link (should have been wzhao, not zhao) My paper on using single channel analysis for loop designs can be > found > at http://www.stat.psu.edu/~wzhao/bcc/respapers/AltmanInterface04.doc > but currently it does not discuss the limma implementation of this. Naomi S. Altman 814-865-3791 (voice) Associate Professor Dept. of Statistics 814-863-7114 (fax) Penn State University 814-865-1348 (Statistics) University Park, PA 16802-2111
ADD COMMENT
0
Entering edit mode
@gordon-smyth
Last seen 15 minutes ago
WEHI, Melbourne, Australia
At 09:20 PM 12/12/2005, michael watson \(IAH-C\) wrote: >I think perhaps I was just getting confused. > >The function modelMatrix() throws an error message unless the number of >columns you want in the design matrix is one less than the number of RNA >targets. This led me to get confused as to how you could create all >contrasts of interest if one was missing from the design matrix. > >However, if we have four RNA targets (R1-4) in a loop design, we can >choose arbitrarily to use one as the ref: > >modelMatrix(Targets, ref="R1") > >Then apply our contrasts of interest R2-R3, R3-R4, R2-R4 and then any >comparisons to R1 are simply R2, R3 and R4.... Correct? Exactly. Gordon >Mick
ADD COMMENT

Login before adding your answer.

Traffic: 803 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6