wu-yc / scMetabolism

Quantifying metabolism activity at the single-cell resolution
BSD 3-Clause "New" or "Revised" License
95 stars 37 forks source link

Error in if (tolower(filter) == "novar") { : missing value where TRUE/FALSE needed In addition: Warning messages: 1: In asMethod(object) : sparse->dense coercion: allocating vector of size 21.9 GiB 2: In readSignaturesInput(signatures) : NAs introduced by coercion #29

Open ltgmri opened 4 months ago

ltgmri commented 4 months ago

when I run the below codes:

Sys.setenv(LANG = 'EN') load("scRNA1_ann.Rdata")

library(scMetabolism) library(ggplot2) library(rsvd) library(Seurat)

DefaultAssay(scRNA1) <- "RNA"

countexp.Seurat<-sc.metabolism.Seurat(obj = scRNA1, method = "VISION", imputation = F, ncores =65, metabolism.type = "KEGG")

I encounter an error:

Error in if (tolower(filter) == "novar") { : missing value where TRUE/FALSE needed In addition: Warning messages: 1: In asMethod(object) : sparse->dense coercion: allocating vector of size 21.9 GiB 2: In readSignaturesInput(signatures) : NAs introduced by coercion

Is there anyone encounter the same error, and how to solve it? thank you?

baiyaer112 commented 3 months ago

I got the problem too,but i fix it by devtools::install_github("YosefLab/VISION@v2.1.0"),download error can fix it by options(timeout = 600000000) then run comment devtools::install_github("YosefLab/VISION@v2.1.0") agint