Skip to content

error of 'missing value where TRUE/FALSE needed' #28

Open
@helianthuszhu

Description

@helianthuszhu

Hi Vivian,
I am using scImpute on my several scRNA data sets. Thank you very much for providing such wonderful tools for us. Actually, some of my data sets worked really well but not all of them. Here is my script: scimpute(file.path(outDir,"tumor.tpm"),infile="csv",outfile="csv",out_dir=file.path(outDir,"malignant_"), labeled=TRUE,labels=as.vector(labels_tumor), type="TPM",genelen=genelen,drop_thre=0.5,ncores=num_cores)
And I got error like this when run one data set:
[1] "reading in raw count matrix ..."
[1] "number of genes in raw count matrix 21985"
[1] "number of cells in raw count matrix 317"
Error in if (min(raw_count) < 0) { :
missing value where TRUE/FALSE needed

Do you have any suggestion on this error?
Thanks in advance!

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