Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetAssayData(pbmc, slot = "counts") gives 0 x 0 matrix #14

Open
Lumskie opened this issue Feb 23, 2022 · 1 comment
Open

GetAssayData(pbmc, slot = "counts") gives 0 x 0 matrix #14

Lumskie opened this issue Feb 23, 2022 · 1 comment

Comments

@Lumskie
Copy link

Lumskie commented Feb 23, 2022

Hi,

I have been doing impuation with ALRA for past few days and results seems really promising for my data s it keeps the biological variation intact. However, I need to supply this data into SCENIC to find the active Transcription factors. For this I need the exprMat of the data. I usually derive it using the following code;

exprMat<-GetAssayData(seurat, slot = "counts")
exprMat<-as.matrix(exprMat)

However, this is giving me 0 x0 matrix. How can I get the exprMat from alra data?
@JunZhao1990 @linqiaozhi

Thank you in advance

@JunZhao1990
Copy link
Member

Hi @Lumskie,
ALRA result will be saved in the data slot, rather than counts slot. Could you try exprMat<-GetAssayData(seurat, slot = "data")?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants