[BioC] how to design matrix by edgeR

wang peter wng.peter at gmail.com
Mon May 21 04:54:41 CEST 2012

Dear Gordon,
thank you very much. i want to find genes are DE at
each time vs 0h, adjusting for control differences?

i know i should do such work:
time=factor( c('oh','oh','oh','6h','6h','6h','6h','12h',

but i donot understand how to design the matrix?
design <- model.matrix(~treatment+tissue)?
design <- model.matrix(~treatment*tissue)

do you have some reference to tell me how to use the model.matrix function

thank you very much

shan gao
Room 231(Dr.Fei lab)
Boyce Thompson Institute
Cornell University
Tower Road, Ithaca, NY 14853-1801
Office phone: 1-607-254-1267(day)
Official email:sg839 at cornell.edu

More information about the Bioconductor mailing list