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

integrate two separate datasets #9629

Open
salvatore92 opened this issue Jan 20, 2025 · 1 comment
Open

integrate two separate datasets #9629

salvatore92 opened this issue Jan 20, 2025 · 1 comment

Comments

@salvatore92
Copy link

Hi,

I want to integrate two datasets using seurat, So I found this tutorial https://satijalab.org/seurat/articles/integration_rpca.html
However there they are integrating over one dataset and split it into a list if I read that correctly. However what I want to do is integrating two separate datasets. But the function FindIntegrationAnchors requires to pass one list. Does anyone have a suggestion on how to create one list from two seurat objects?

@wudustan
Copy link

If you have two seurat objects eg: seuratA and seuratB

seurat.list <- list(seuratA, seurat)

However, the vignette you linked is out of date. Seurat v5 has implemented layers which holds multiple datasets as separate matrices inside one Seurat object. See the vignette https://satijalab.org/seurat/articles/seurat5_integration

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