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

the error of Augur #23

Open
crystal0721 opened this issue May 15, 2023 · 2 comments
Open

the error of Augur #23

crystal0721 opened this issue May 15, 2023 · 2 comments

Comments

@crystal0721
Copy link

hi, we test augur using our data. the code as follows:

seurat.obj<-readRDS('zsh_subset.rds')
augur = calculate_auc(seurat.obj,cell_type_col = "stim", label_col = "seurat_clusters")

while we got the errors:

using default assay: RNA ...
Error in calculate_auc(seurat.obj, cell_type_col = "stim", label_col = "seurat_clusters") :
no cell type had at least 20 cells in all conditions
Execution halted

we want to know how to know the reason and how to solve. Thanks for your help and we are looking for your replay.

@skinnider
Copy link
Collaborator

As the error suggests, there are no cell types with at least 20 cells in all conditions. It seems to me from the code provided that you may be swapping the cell type and label columns in Augur's arguments.

@crystal0721
Copy link
Author

Thanks for your apply. Yes, we swapped the cell type and label columns in Augur's arguments. While the number of cells under each condition is more than 20,one is 6413,the other is 3764.

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