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

Can SingleR work with a Xenium object? #280

Open
jbrandst7 opened this issue Oct 16, 2024 · 1 comment
Open

Can SingleR work with a Xenium object? #280

jbrandst7 opened this issue Oct 16, 2024 · 1 comment

Comments

@jbrandst7
Copy link

I was hoping to use SingleR annotations as a way to standardize my analysis of cell identities across Xenium samples by using a 'master' Seurat object of scRNAseq data from many samples where I already provided detailed labels for rare cell populations. Can this be done with SingleR? Is there any way I should modify the xenium object in Seurat before it can be used as the test sample? Do you have any example code you could share? Thanks for any help you can provide!

@j-andrews7
Copy link
Collaborator

Read the README and/or book.

SingleR() is made to be workflow/package agnostic - if you can get a matrix of normalized counts, you can use it. SingleCellExperiment objects can be used directly. Seurat objects can be converted to SingleCellExperiment objects via Seurat's as.SingleCellExperiment() function or their normalized counts can be retrieved via GetAssayData or FetchData.

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