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

Multiple categorical_covariate_keys not allowed #208

Open
Yuki-YqHuang opened this issue Aug 9, 2023 · 1 comment
Open

Multiple categorical_covariate_keys not allowed #208

Yuki-YqHuang opened this issue Aug 9, 2023 · 1 comment

Comments

@Yuki-YqHuang
Copy link

Hi,

I'm using scANVI-scArches to integrate data from several studies. Each study has several samples. So I set up the model with categorical_covariate_keys=["sample", "study"]. This worked when integrating the data. However, when I was trying to project new data to the reference data. I got an error saying scArches currently does not support multiple categorical_covariate_keys. Given this situation, is it reasonable only including batch_key="sample", ignoring the differences between studies? I also noticed that HLCA atlas was also built from several studies with multiple samples. How did you deal with this situation?

Thanks,
Yuqi

@Koncopd
Copy link
Member

Koncopd commented Aug 10, 2023

Hi, @Yuki-YqHuang , you can, for example, concatenate sample and study.

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