scImpute icon indicating copy to clipboard operation
scImpute copied to clipboard

Error in seq.default(lsmin, (Re(log2(midmin)) - 0.5), stepm) : 'from' must be a finite number

Open Yale73 opened this issue 4 years ago • 2 comments

Hi Vivian,

I am trying to impute dropouts from a csv of UMI values ( 7 genes and 12244 cells). The codes are listed below. scimpute ("E:/gdT.csv", Kcluster = 2, out_dir = "E:/Cal", ncores = 1, drop_thre = 0.1), but when I am at "calculating cell distances ...", I got error.

[1] "reading in raw count matrix ..." [1] "number of genes in raw count matrix 7" [1] "number of cells in raw count matrix 12244" [1] "reading finished!" [1] "imputation starts ..." [1] "searching candidate neighbors ... " [1] "inferring cell similarities ..." [1] "dimension reduction ..." [1] "calculating cell distances ..." Error in seq.default(lsmin, (Re(log2(midmin)) - 0.5), stepm) : 'from' must be a finite number I checked our code and can not find from parameter, can you help me fix it ?

Thanks!

Yale

Yale73 avatar May 27 '20 19:05 Yale73