Hi Edmund,


> > fit2 = contrasts.fit(fit, cont.matrix)
> > fit2 = eBayes(fit2)
> > results2 <- decideTests(fit2)
> > selected.wt<- p.adjust(fit2$F.p.value, method="fdr") < 0.05
>
> My question is how do I export the genes names in "selected.wt" out as a
> text file?
> I tried
> > write.csv(selected.wt, "selected.wt.csv")
> but I get a single column with TRUE and FALSE.



Selected.wt contains the results of the Boolean test for every gene in fit2
(i.e, TRUE/FALSE). To get the gene names try:

selected_geneNames <- fit2$genes[selected.wt,]

Hope this helps,

Lourdes

	[[alternative HTML version deleted]]

