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

Label transfer without any batch removal in the reference #236

Open
tvegawaichman opened this issue May 27, 2024 · 0 comments
Open

Label transfer without any batch removal in the reference #236

tvegawaichman opened this issue May 27, 2024 · 0 comments

Comments

@tvegawaichman
Copy link

Hello!
I'm trying to use scArches to do a label transfer between a reference and a query, and I have a few questions:

Is this normalization enough, or should it be done in a specific way?

sc.pp.normalize_total(adata, target_sum=1e4)
# Logarithmize the data:
sc.pp.log1p(adata)

Then, I want to use scPoli, but the model is asking about the condition_key. Is it enough to create a dummy variable where the condition for all the labels in the reference is the same? (All my cells come from the same condition-batch). Like:
adata.obs['condition'] = 'none'
What does cell_type_key refer to? Should I specify the cell-type column that I want to use to transfer the labels here?

I see that you recommend scANVI also for annotation. Could any other method in scArches (like scGen) be useful for this task?

Thanks!

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

1 participant