[BioC] limma voom: How to create double contrasts?

James W. MacDonald jmacdon at uw.edu
Wed Jul 18 14:55:34 CEST 2012


Hi Christian,

On 7/17/2012 4:32 AM, Christian Ametz wrote:
> Dear members,
>
> I'm struggling to create the contrast matrix for our experiment comprising of 4 genotypes in treated and untreated conditions:
>
> The genotypes are labelled C1 to C4
> The conditions are treated (F) and untreated (M)
> I set up the contrast matrix like this:
>
> cont.matrix.30<- makeContrasts(
> C1_FvsM=C1F-C1M,
> C2_FvsM=C2F-C2M,
> C3_FvsM=C3F-C3M,
> C4_FvsM=C4F-C4M,
> Diff_C1C2=(C1F-C1M)-(C2F-C2M),
> levels=design)
>
>
> The first four "normal" contrasts estimating the response of treated/untreated genotypes are working great. My problem is the "double contrast" Diff_C1C2 where I want to find those genes that show a difference in response (treated vs untreated)  between the two genotypes C1 and C2.

The technical term for that contrast is an interaction, and you have set 
it up correctly. So what is the problem?

Best,

Jim


>
>
> I would gladly accept any help!
>
> Thanks
> Christian
>
>
>
>
>
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor

-- 
James W. MacDonald, M.S.
Biostatistician
University of Washington
Environmental and Occupational Health Sciences
4225 Roosevelt Way NE, # 100
Seattle WA 98105-6099



More information about the Bioconductor mailing list