Question: writing gse series matrix data into a csv file
0
gravatar for cs18s003
3 months ago by
cs18s0030
cs18s0030 wrote:

I am new to R ,i have been trying to write the gse series matrix data into a csv file and i am not getting the output in the proper way as i need . the result.txt below is generating me the output line by line i.e the attribute names on the first line and the corresponding value of the attributes for every samples in the next consecutive lines .i want them in a csv file. can u point me in the right direction . thanks in advance .

This is the code snippet i wrote below :

source("http://bioconductor.org/biocLite.R")

biocLite("GEOquery")

library("GEOquery")

gse=getGEO(filename="~/Downloads/GSE79362seriesmatrix.txt.gz",GSEMatrix=TRUE,getGPL = FALSE)

write.table(gse, file='results.txt')

R • 126 views
ADD COMMENTlink modified 3 months ago • written 3 months ago by cs18s0030

Which version of Bioconductor (and R) are you using? It doesn't seem the latest version. I didn't understand the description of the file output, but have you looked at write.csv?

ADD REPLYlink written 3 months ago by Lluís Revilla Sancho510
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 217 users visited in the last hour