Skip to content

Stupid Limma question..

2 messages · Joshua McElwee, Henrik Bengtsson

#
Hi all.  I've got a really dumb question for anyone.  How do I write the
output of a limma analysis (basically the topTable) to a text file?  I want
to output the topTable for the entire microarray (not really a topTable
anymore I suppose..).  Thanks for any advice!
-Josh
#
Hi, I think this question should asked on the Bioconductor mailing
list instead. I know Gordon Smyth is reading that one, but I don't
think he's reading this one regularly.

If I remember correctly df <- topTable() returns a data.frame, which
you can write to a file using write.table(df, "topTable.dat"). 

Also, in R you can catch *any* output using sink(). See ?sink.

Cheers

Henrik Bengtsson