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

Question for multiple ST samples #32

Closed
astrid12345 opened this issue Oct 6, 2021 · 3 comments
Closed

Question for multiple ST samples #32

astrid12345 opened this issue Oct 6, 2021 · 3 comments

Comments

@astrid12345
Copy link

Dear MarcElosua,

I have multiple ST samples in one experiment. I am wondering, once my NMF model is trained ( nmf_mod_ls in the tutorial), can I use one NMF model for multiple ST samples to deconvolve the mixture/spots?

What conditions do the samples need to satisfy before I could try using the same NMF model? Or would you recommend always training the NMF again for each sample?

Thanks,

@astrid12345
Copy link
Author

thanks! i already ended up running each NMF for each replicate!

@MarcElosua
Copy link
Owner

Hi @astrid12345

This may come a bit late but an approach I use sometimes to run SPOTlight on multiple samples is to merge them all in 1 Seurat object and run it on it. This allows you to train the model once only and reduces the computational bottleneck an also ensures all the samples have the same model trained on them. Obviously this should be done if the samples are similar between them!

Thanks again for your interest and hope this helps in future analysis!

@astrid12345
Copy link
Author

Ah thanks, i didn't think of that! Yes, this could really help in the future. I wanted to share how much I appreciate SPOTlight: your workflow is elegant, simple and computationally efficient. Thank you for this wonderful contribution!

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