-
Notifications
You must be signed in to change notification settings - Fork 140
there is no package called ‘CellChat’ #2
Comments
@zh-Bian Can you show me several lines of codes before you run this function and how you run this function? |
I followed the process of 'Walkthrough - CellChat analysis of cell-cell communication in mouse skin wounds'. Here are my codes. cellchat <- subsetData(cellchat) # subset the expression data of signaling genes for saving computation cost library(CellChat) cellchat <- computeCommunProb(cellchat) When it run to 'cellchat <- computeCommunProb(cellchat) ', it failed with " 'there is no package called ‘CellChat’ ". Then I used the source code to test and I found the error occured in function computeExpr_complex(). @sqjin data.complex = my.sapply( |
@zh-Bian library.path <- .libPaths(); library("CellChat", lib.loc = library.path) |
Hello, Thank you for your advice. I tried your method but it didn't work. And I noticed an interesting detail: when I first open my Rstudio, 'cellchat <- computeCommunProb(cellchat)' works fine, however the second is the same wrong. I think whether the function needs to access some resources online, so it sometimes works and sometimes not. @sqjin |
@zh-Bian I will take a look and fix this issue. For now, please just run this function only one time. |
OK. The way for me to use the package is interesting, and the package is useful. Thank you very much for answering my questions. |
@zh-Bian Hello, just let you know that I have no issue to rerun |
Hello, when I used the function computeCommunProb(), it always reported an error: there is no package called ‘CellChat’. Could you give me some advice to solve the problem? Thank you! @sqjin
The text was updated successfully, but these errors were encountered: