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

Support Assay5 assays stored in seurat objects #22

Closed
esiegel opened this issue Dec 1, 2023 · 0 comments · Fixed by #23
Closed

Support Assay5 assays stored in seurat objects #22

esiegel opened this issue Dec 1, 2023 · 0 comments · Fixed by #23
Assignees
Labels
bug Something isn't working

Comments

@esiegel
Copy link
Collaborator

esiegel commented Dec 1, 2023

This fails with a missing counts matrix when the assay is of type SeuratObject::Assay5 instead of SeuratObject::Assay

assay <- seurat_obj[["RNA"]]
counts <- assay@counts

For Assay5 it seems we need to grab the data from the layers slot

assay <- seurat_obj[["RNA"]]
counts <- assay@layers[["counts"]]
@esiegel esiegel self-assigned this Dec 1, 2023
@esiegel esiegel added the bug Something isn't working label Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant