You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
I am having this same issue with none of the suggestions fixing it. Error in storage.mode(x) <- "double" : 'list' object cannot be coerced to type 'double'
#621
Closed
afletch00 opened this issue
May 19, 2023
· 1 comment
@YitengDang Hi, may I know if you have solved your problem now? I also met the same issue.
future::plan("multiprocess", workers = 4)
Error: ‘node$session_info$process$pid == pid’ is not TRUE
when I changed the code, it still appeared.
future::plan("multisession", workers = 4)
Error: ‘node$session_info$process$pid == pid’ is not TRUE
Interesting, only by this code it worked. And the following "identifyOverExpressedGenes" ran well.
future::plan("multisession", workers = 1)
But, if workers more than 1, error appeared again:
future::plan("multisession", workers = 2)
Error: ‘node$session_info$process$pid == pid’ is not TRUE
future::plan("multisession", workers = 3)
Error: ‘node$session_info$process$pid == pid’ is not TRUE
future::plan("multisession", workers = 4)
Error: ‘node$session_info$process$pid == pid’ is not TRUE
for netClustering(), I changed
netClustering <- function(object, slot.name = "netP", type = c("functional","structural"), comparison = NULL, k = NULL, methods = "kmeans", do.plot = TRUE, fig.id = NULL, do.parallel = TRUE, nCores = 1, k.eigen = NULL)
but it reported:
Error in storage.mode(x) <- "double" :
'list' object cannot be coerced to type 'double'
when I modified "kmeans(data.frame(data.use),kRange[x],nstart=10)$cluster",
it showed "Error in as.data.frame.default(x[[i]], optional = TRUE, stringsAsFactors = stringsAsFactors) :
cannot coerce class ‘"umap"’ to a data.frame "
So, could you help me to solve these problems? Thank you very much!
The text was updated successfully, but these errors were encountered:
afletch00
changed the title
@YitengDang Hi, may I know if you have solved your problem now? I also met the same issue.
I am having this same issue with none of the suggestions fixing it. Error in storage.mode(x) <- "double" : 'list' object cannot be coerced to type 'double'
May 19, 2023
Error: ‘node$session_info$process$pid == pid’ is not TRUE
when I changed the code, it still appeared.
Interesting, only by this code it worked. And the following "identifyOverExpressedGenes" ran well.
future::plan("multisession", workers = 1)
But, if workers more than 1, error appeared again:
netClustering <- function(object, slot.name = "netP", type = c("functional","structural"), comparison = NULL, k = NULL, methods = "kmeans", do.plot = TRUE, fig.id = NULL, do.parallel = TRUE, nCores = 1, k.eigen = NULL)
but it reported:
Error in storage.mode(x) <- "double" :
'list' object cannot be coerced to type 'double'
when I modified "kmeans(data.frame(data.use),kRange[x],nstart=10)$cluster",
it showed "Error in as.data.frame.default(x[[i]], optional = TRUE, stringsAsFactors = stringsAsFactors) :
cannot coerce class ‘"umap"’ to a data.frame "
So, could you help me to solve these problems? Thank you very much!
Originally posted by @AIYang1210 in #174 (comment)
The text was updated successfully, but these errors were encountered: