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 :
gse=getGEO(filename="~/Downloads/GSE79362seriesmatrix.txt.gz",GSEMatrix=TRUE,getGPL = FALSE)