Using Bioconductor To Analyse Microarray Data: Difference between revisions
mNo edit summary |
|||
| Line 41: | Line 41: | ||
design <- model.matrix(~0+factor(c(1,1,1,1,2,2,2,2)),eset) #for four replicates of each treatment group | design <- model.matrix(~0+factor(c(1,1,1,1,2,2,2,2)),eset) #for four replicates of each treatment group | ||
colnames(design) <- c("resistant","sensitive") # give names to the treatment groups | colnames(design) <- c("resistant","sensitive") # give names to the treatment groups | ||
design #check the design matrix | |||
</pre> | |||