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

Batch effects #4

Open
vravik opened this issue Aug 14, 2022 · 1 comment
Open

Batch effects #4

vravik opened this issue Aug 14, 2022 · 1 comment

Comments

@vravik
Copy link

vravik commented Aug 14, 2022

Hey guys,

I have single cell data from several (~40) individual GBM samples, and would like to perform velocity analysis on the tumor cell population as a whole. Would you have any recommendations for how to correct for batch effects? Would it be sufficient that the lower dimensional embedding is corrected for batch effects, using scVI, or would I also have to use modified batch-corrected unspliced and spliced counts values as input for DeepVelo?

Thank you

@subercui
Copy link
Member

subercui commented Aug 15, 2022

Hi, I would suggest you try using the batch-corrected unspliced and spliced counts as input, and all the training and analysis code should just work as usual. This is the easiest way to work with batch correction and hopefully, it can work well.

On the other hand, if you really want to input the latent embeddings, there are several spots regarding the input layer size and objective function computation you need to set up manually. I'd be happy to help work through these changes if you choose to work with the latent embeddings later.

Nevertheless, I'd say it is generally speaking still an open question about how to do batch correction for the field of velocity estimation, which is partially due to the large variation of unspliced reads across batches. So let me know if you encounter any issue later on

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