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 seq.default(lsmin, (Re(log2(midmin)) - 0.5), stepm) : 'from' must be a finite number #31

Open Yale73 opened 4 years ago

Yale73 commented 4 years ago

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

tele-agusto commented 1 year ago

@Yale73

Hi, did you manage to solve this?? Having the same issue - any help would be appreciated!

eshan-abbas commented 1 year ago

Yeah, same problem here.