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

Infer malignant cell fraction using CNV, but infer normal cell fraction with matched scRNAseq dataset? #18

Open
wlwang20 opened this issue Jun 21, 2023 · 2 comments

Comments

@wlwang20
Copy link

For the deconvolution of my ST data, I want to use my own scRNAseq reference for the normal cell cell fraction. However, I am satisfied with the way that the default SpaCET.deconvolution is determining the fraction of malignant cells using the CNAs. Is there a way to blend the two methods (CNA for malignant fraction deconvolution and matched scRNAseq for the normal cell fraction deconvolution)?

It seems like SpaCET.deconvolution.matched.scRNAseq does both malignant and normal cell deconvolution, but how can I make it work only on the normal cell fraction? Thanks.

@beibeiru
Copy link
Collaborator

beibeiru commented Jun 25, 2023

Hi, @wlwang20,

Thank you very much for your interest in our tool!
I design two new parameters sc_includeMalignant and cancerType for SpaCET.deconvolution.matched.scRNAseq, which can enable to infer malignant cells using CNA dictionary and non-malignant cells using the input scRNAseq reference. Just set sc_includeMalignant as FALSE and cancerType as the cancer type of your data.
Please reinstall our package and have a try. Thanks.

Best,
Beibei

@wlwang20
Copy link
Author

wlwang20 commented Jul 6, 2023

Thank you! This update worked for me!

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