Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
edgeR model.matrix issue for multiple factors neokao RNA Sequencing 4 03-25-2015 06:09 PM
model matrix design for multiple siRNAs targeting same gene Brandi Bioinformatics 2 02-27-2014 05:18 AM
rnaseq format the count reads matrix file before edgeR antoza Introductions 2 02-11-2014 03:31 PM
EdgeR model matrix interpretation sindrle Bioinformatics 4 10-24-2013 04:28 AM
EdgeR design-matrix design extended.wobble RNA Sequencing 3 07-11-2011 07:58 AM

Thread Tools
Old 01-04-2016, 03:21 AM   #1
Location: Southampton

Join Date: Jun 2015
Posts: 36
Default Design matrix for edgeR help


I am attempting to create a design matrix in edgeR to determine differentially expressed genes, but I am unsure on the notation to use as I am relatively new to R and not a statistician in any way.

Basically, the experimental design is as follows:

We have two treatments (A and B), each treatment had two cages and in each cage, there were 3 mice. Therefore in total, we have 6 mice for each treatment, coming from 2 cages for each treatment (total of 4 cages). We are not interested in the effect of the different cages, but are interested in differentially expressed genes between the 2 treatments (A and B).

So what I was wondering is what the design matrix would be taking into account that cage is nested in treatment. Would it be one of the following or something completely different:

PHP Code:
design <- model.matrix(~cage/treatment)

design <- model.matrix(~treatment*cage)

design <- model.matrix(~cage %intreatment
Thanks for any help
ea11 is offline   Reply With Quote

design, edger, model matrix

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -8. The time now is 12:25 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO