How can I extract data from the expression matrix txt extension?
I want to analyze this data (GSE60361) with the seurat package and also extract the gene expression matrix (including cells in rows and genes in columns). Is it possible? What other tools are there to obtain the expression matrix of this data model (GSE60361)(GSE75688)?
The gene names are in the first column, but when you try to set them as rownames R will complain about non-unique values such as “Mar-1”, which means that the authors use Excel (/facepalm) to manipulate or create this file. So you have to first fix the corrupted gene names, e.g. These gene symbol are from where? What source? and then move the first column to rownames.
There is another file, this time in Excel itself (/facepalm2), no clue what it is, maybe you can find out, seems like some kind of per-cell annotations:
other <- readxl::read_xlsx("GSE60361_spikes_annotation_and_abundance.xlsx")
Seurat documentation will tell how to read a matrix into a Seurat object.