How to extract gene-cell Gene Score matrix? #2204
JiangLab-mitochondria
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to get the gene x cell Gene Score Matrix, and I ran the following command:
gene_score_matrix <- getMatrixFromProject(dna, useMatrix = "GeneScoreMatrix")
assays(gene_score_matrix)$GeneScoreMatrix
rowData(gene_score_matrix)
The Matrix returned by assays(gene_score_matrix)$GeneScoreMatrix has row names that are not gene names but numerical identifiers. The DataFrame returned by rowData(gene_score_matrix) also has numerical identifiers as row names. Are these numerical identifiers corresponding? If they are corresponding, I can directly assign the gene names to the row names of the Matrix returned by GeneScoreMatrix.
Beta Was this translation helpful? Give feedback.
All reactions