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 correction when capturing meta-program from multiple samples #94

Open
Jasonqte opened this issue Aug 7, 2024 · 1 comment
Open

Comments

@Jasonqte
Copy link

Jasonqte commented Aug 7, 2024

Hi,

Nice work! I have a question that when I calculate the meta-program, do I need to do batch correction first. For example, I first perform NMF on multiple samples individually. The meta-program is obtained by calculating the correlation between the programs that decompose from each sample. If it does not involve aggregating multiple samples first, is it necessary to consider the batch effect before performing NMF?

@dylkot
Copy link
Owner

dylkot commented Aug 16, 2024

Hi Jason,

If there are strong batch signals within the individual samples, that might cause the programs to correlate less well across samples. In that case, there can sometimes be a benefit to batch correcting each sample first. Are there any batch signals within an individual sample for you? For example, was the same sample sequenced in multiple runs? In that case there may be some benefit.

However, often times there aren't significant batch effects at the individual sample level and so running the batch effect per sample may remove signal without providing much benefit.

Hope that helps!

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