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

How to add CARD result to Seurat object #75

Open
GouQiao opened this issue Apr 10, 2024 · 2 comments
Open

How to add CARD result to Seurat object #75

GouQiao opened this issue Apr 10, 2024 · 2 comments

Comments

@GouQiao
Copy link

GouQiao commented Apr 10, 2024

Hi developer,

Thanks for developing such amazing package for ST analysis.
After deconvolution by CARD, how to add the results of CARD object to Seurat data for downstream analysis ?
for example, add the info into meta.data of Seurat object.

best,

@YMalab
Copy link
Collaborator

YMalab commented Apr 12, 2024

Hi @GouQiao,

Thank you for the question!

I think you can add the cell type compositions from CARD into Seurat by manually adding it to:

seuratObject[["predictions"]] <- predictions.assay #### this could be the place you put the cell type compositions
DefaultAssay(slide.seq) <- "predictions"

Please see more details in their tutorial: https://satijalab.org/seurat/articles/spatial_vignette

We can work on that later since it takes some time for us to check the details.

Best,
Ying

@GouQiao
Copy link
Author

GouQiao commented Apr 15, 2024

Thanks for your patient reply.
Which data from the CARD object should be extracted to make the matrix of predictions.assay?

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