hello, i am working on microarray data analysis using R/Bioconductor package. for differential expression analysis i am using limma package. i am consedering cel file. my data containing 4 sample for normal, and 8 sample for disease data . i am using following command line for analysis.
 library(limma)
library(affy)
 library(makecdfenv)
 library(affyio)
 library(affy)
 ovarian<-make.cdf.env("HGU133A_Hs_ENSG.cdf")
 data1<-ReadAffy(cdfname='ovarian')
 data1
Data <- ReadAffy()
  eset <- rma(data1)
  ph<-pData(eset)
  ph
  p_disease<- c("control","control","control","control","case","case","case","case","case","case","case","case")
  p_disease
  design <- model.matrix(~factor(p_disease))
  colnames(design) <- c("case","control")
  design
  fit <- lmFit(eset, design)
   fit <- eBayes(fit)
 options(digits=2)
   getwd()
  genes<- topTable(fit, coef=2, n=40, adjust="BH")
   write.table(genes,"limma analyzed data1.xls",sep="\t",col.names = NA)
is am i in write direction ? kindly give me your valuable suggestion. thanking you
I added code markup to your post for increased readability. You can do this by selecting the text and clicking the 101010 button. When you compose or edit a post that button is in your toolbar, see image below: