Hello everyone!
I am looking for methods to put out the normalization result. I used
limma to do the normalization.
I found out the command in R's document, write.table. But I don't know
how to use it.
Could anybody teach me?
Thank you very much!
--
Xiaopeng ZHANG<xpzhang@genetics.ac.cn>
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