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

Error in LabelTransfer_SupervisedLearning.py #3

Open
yz3n18 opened this issue Dec 9, 2024 · 0 comments
Open

Error in LabelTransfer_SupervisedLearning.py #3

yz3n18 opened this issue Dec 9, 2024 · 0 comments

Comments

@yz3n18
Copy link

yz3n18 commented Dec 9, 2024

Hi,

I was using SVM https://github.com/ventolab/HGDA/blob/main/mouse_scRNAseq/mouse_human_comparison/LabelTransfer_SupervisedLearning.py for label transfer as you suggested. It ran smoothly except for line 157, where adata_from = downsample(adata_from, args.downsample) generated an error. For me, changing it to adata_from = downsample(adata_from,args.labels[0]) solved the issue.

Maybe it is worth double-checking.

Kind regards.

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