Pathway analysis of a seurat object with gage in R
0
0
Entering edit mode
2.1 years ago
mfro • 0

Dear community

I am new to the field of RNA single cell sequencing and I am having problems performing pathway enrichment analysis on a Seurat object. I was able to perform pathway analysis on my object with the Reactome GSA package (Griss J. ReactomeGSA, https://github.com/reactome/ReactomeGSA (2019)), but I would prefer using the GAGE R Bioconductor package as it will let me use kegg or GO gene sets.

However, I get this error: enter image description here

Could you help me figure out, how I need to prepare the data for gage analysis? As I cannot find a tutorial on how to prepare a Seurat object for GAGE. Or would you say using the ReactomeGSA package is as good and reliable as GAGE?

Thank you in advance.

M

gage sequencing Single cell Studio R Seurat • 1.0k views
ADD COMMENT
0
Entering edit mode

according to the gage help information, the format of the input exprs should be an expression matrix or matrix-like data structure, with genes as rows and samples as columns.

Your Seurat object is not a matrix, but you can get your gene x cell matrix out of the Seurat object. I myself am new to working with scRNA-seq data and have been playing around with Seurat objects. I think one good option for accessing the counts matrix is:

# get raw counts
GetAssayData(seuratObject, slot = "counts")

# get SCTransformed counts
GetAssayData(seuratObject, slot = "data")

I also found this GitHub issue informative regarding the different assay slots https://github.com/satijalab/seurat/issues/3711

ADD REPLY

Login before adding your answer.

Traffic: 4004 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