Single-Cell-Metabolic-Landscape
Single-Cell-Metabolic-Landscape copied to clipboard
“imputation issue”error
Hi zhengtaoxiao! when i repeated your data, some errors produced. error result as follows:
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) [1] "reading in raw count matrix ..." [1] "number of genes in raw count matrix 23684" [1] "number of cells in raw count matrix 1167" Error in if (min(raw_count) < 0) { : missing value where TRUE/FALSE needed In addition: Warning message: In dir.create(out_dir, recursive = TRUE) : 'dataset/NA/malignant_' already exists
Mine is only relatively shallow, so I do not know how to deal with, would like to ask you for advice. I hope you will give me your advice