Skip to content

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

Open
@Joyjoyjoyc

Description

@Joyjoyjoyc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions