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

Basis matrix is different for the same snRNA-seq but different spatial samples #63

Open
Qirongmao97 opened this issue Feb 1, 2024 · 2 comments

Comments

@Qirongmao97
Copy link

Qirongmao97 commented Feb 1, 2024

Hi, thanks for presenting CARD.

One question regarding the basis matrix construction, I've used the same snRNA-seq to deconvolute different spatial samples, but the gene list in the basis matrix B for different spatial samples is different. I was wondering if that makes sense cause I thought the basis matrix construction is based on the single-cell data, and if we do not change the single-cell data, the basis matrix will not change.

Thanks!

@Qirongmao97 Qirongmao97 changed the title Custom gene selection for constructing reference basis matrix Basis matrix is different for the same snRNA-seq but different spatial samples Feb 14, 2024
@YMalab
Copy link
Collaborator

YMalab commented Feb 28, 2024

Hi @Qirongmao97,

Thank you for your interest in our CARD package.

Regarding your question, because the spatial samples differ, even when we apply the same filtering criteria to remove lowly expressed genes in spatial samples, the resulting gene list will vary. CARD deconvolution considers the genes shared between the scRNA-seq reference and the spatial transcriptomics data. Therefore, the set of genes in the basis matrix used may differ due to the specific common genes shared with the spatial transcriptomics data.

Best,
Ying

@Qirongmao97
Copy link
Author

Thanks for your reply!

In our case, we do notice that some genes are removed in some of our samples even though they are highly expressed and regarded as the marker gene for the cluster label. Do you think there are other reasons that the spatial samples would interfere with the genes included in the basis matrix? Thanks!

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