Vivianstats / scImpute

Accurate and robust imputation of scRNA-seq data
https://www.nature.com/articles/s41467-018-03405-7
90 stars 34 forks source link

Error in if (max(var_cum) <= var_thre) { : missing value where TRUE/FALSE needed #39

Open Joyjoyjoyc opened 2 months ago

Joyjoyjoyc commented 2 months ago

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", outdir=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