[BioC] How to put out the normalization result of limma as a
*.txt file?
James Wettenhall
wettenhall at wehi.edu.au
Mon Jun 14 18:14:34 CEST 2004
Hi,
On Mon, 14 Jun 2004, xpzhang wrote:
> I am looking for methods to put out the normalization result. I used
> limma to do the normalization.
OK, then you should have an MA object.
You can use:
getwd()
to see your current directory,
and
setwd("C:/Microarray/NormalizationResults")
to change your current directory. (Forward-slashes are better
than back-slashes if you are a Windows user.)
Then to write tab-delimited text files, try this:
The first method writes the M values including an initial
column containing row names of the R matrix MA$M:
write.table(MA$M,file="Mvalues.txt",sep="\t",col.names=NA)
The second method omits the row names:
write.table(MA$M,file="Mvalues2.txt",sep="\t",row.names=FALSE)
You can do the same thing for MA$A.
Hope this helps,
James
More information about the Bioconductor
mailing list