Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Feb 22, 2024 · 1 comment

Comments

@ltgmri
Copy link

ltgmri commented Feb 22, 2024

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
Copy link

I got the problem too,but i fix it by devtools::install_github("YosefLab/[email protected]"),download error can fix it by options(timeout = 600000000) then run comment devtools::install_github("YosefLab/[email protected]") agint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants