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 if (max(var_cum) <= var_thre) { : missing value where TRUE/FALSE needed #39

Open
Joyjoyjoyc opened this issue Apr 20, 2024 · 0 comments

Comments

@Joyjoyjoyc
Copy link

Joyjoyjoyc commented Apr 20, 2024

Hi, everyone.
I was running the scripts below, and it took a long time and finally sent an error, I want to know why? Thanks!

scimpute(file.path(outDir,"counts.csv"),
infile="csv",outfile="csv",
out_dir=file.path(outDir,"imputation_"),
labeled=TRUE,labels = as.vector(data$CellType),
drop_thre=0.5,ncores=1)
[1] "reading in raw count matrix ..."
[1] "number of genes in raw count matrix 33694"
[1] "number of cells in raw count matrix 87253"
[1] "reading finished!"
[1] "imputation starts ..."
[1] "searching candidate neighbors ... "
[1] "calculating cell distances ..."
Error in if (max(var_cum) <= var_thre) { :
missing value where TRUE/FALSE needed

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