sqjin / CellChat

R toolkit for inference, visualization and analysis of cell-cell communication from single-cell data
GNU General Public License v3.0
613 stars 140 forks source link

Preprocessing the expression data for cell-cell communication analysis #410

Open AIYang1210 opened 2 years ago

AIYang1210 commented 2 years ago

It works well when performing code before this line. Please help me to solve this. I can't skip this. And the following results are influenced by this error.

future::plan("multiprocess", workers = 4) # do parallel Error: ‘node$session_info$process$pid == pid’ is not TRUE In addition: Warning messages: 1: Strategy 'multiprocess' is deprecated in future (>= 1.20.0). Instead, explicitly specify either 'multisession' or 'multicore'. In the current R session, 'multiprocess' equals 'multisession'. 2: In add_cluster_session_info(cl[ii]) : NAs introduced by coercion

cellchat <- identifyOverExpressedGenes(cellchat) Error: ‘node$session_info$process$pid == pid’ is not TRUE In addition: Warning message: In add_cluster_session_info(cl[ii]) : NAs introduced by coercion

cellchat <- identifyOverExpressedInteractions(cellchat) Error: ‘node$session_info$process$pid == pid’ is not TRUE In addition: Warning message: In add_cluster_session_info(cl[ii]) : NAs introduced by coercion

I also did not run "future::plan("multiprocess", workers = 4)" , but it still showed as follows when ran identifyOverExpressedGenes and identifyOverExpressedInteractions. "Error: ‘node$session_info$process$pid == pid’ is not TRUE In addition: Warning message: In add_cluster_session_info(cl[ii]) : NAs introduced by coercion"

CookieJuicy commented 1 year ago

I have encountered the same problem.