Limma - write table??
2
0
Entering edit mode
alison waller ▴ 180
@alison-waller-2505
Last seen 10.1 years ago
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/bioconductor/attachments/20071126/ f9e98a87/attachment.pl
• 1.1k views
ADD COMMENT
0
Entering edit mode
@sean-davis-490
Last seen 7 weeks ago
United States
On Nov 26, 2007 11:59 AM, alison waller <alison.waller at="" utoronto.ca=""> wrote: > Hi All, > > > > I have read in my .gpr files, done normalization between and within arrays. > I would now like to export my normalized R and G values to a file that I can > save. > > > > I can export the R and the G values separately, but I would like a table as > below: > > SpotName(fromGALfile) R G > > > > I used >write.table(RG$R,file="myout.txt",sep="\t"). You can use cbind() to make a new data.frame that includes all the columns you like. Something like: mydata <- cbind(RG$genes,RG$R,RG$G) write.table(mydata,'myout.txt',sep="\t",col.names=TRUE,row.names=FALSE ) You may need to play with the column names of mydata to get a more meaningful output file. Sean
ADD COMMENT
0
Entering edit mode
@jdelasherasedacuk-1189
Last seen 9.1 years ago
United Kingdom
Quoting alison waller <alison.waller at="" utoronto.ca="">: > Hi All, > > > > I have read in my .gpr files, done normalization between and within arrays. > I would now like to export my normalized R and G values to a file that I can > save. > > > > I can export the R and the G values separately, but I would like a table as > below: > > SpotName(fromGALfile) R G > > > > I used >write.table(RG$R,file="myout.txt",sep="\t"). > > > > So basically, can I specify that I want to include the gene information from > the gal file instead of just listing the values my number, and can I print > out R and G? > > > > Thanks, > > > > Alison Hi Alison, Sean showed you how to export a table with the values you want. I'm just a little confused by what you mean about the "normalised R and G values". Usually we deal with M values, after normalisation, where M=log2(Cy5/Cy3). These will be stored in a MAList object (what you get after normalisation). If you want to see the normalised R and G values, you can obtain those from the MAList. The function 'RG.MA' does that. You might know that already, but just in case! Jose -- Dr. Jose I. de las Heras Email: J.delasHeras at ed.ac.uk The Wellcome Trust Centre for Cell Biology Phone: +44 (0)131 6513374 Institute for Cell & Molecular Biology Fax: +44 (0)131 6507360 Swann Building, Mayfield Road University of Edinburgh Edinburgh EH9 3JR UK -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
ADD COMMENT

Login before adding your answer.

Traffic: 868 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6