Comments (8)
@zh-Bian Can you show me several lines of codes before you run this function and how you run this function?
from cellchat.
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
future::plan("multiprocess", workers = 15) # do parallel
cellchat <- identifyOverExpressedGenes(cellchat)
cellchat <- identifyOverExpressedInteractions(cellchat)
cellchat <- projectData(cellchat, PPI.mouse) #human/mouse
library(CellChat)
cellchat <- computeCommunProb(cellchat)
cellchat <- computeCommunProbPathway(cellchat)
cellchat <- aggregateNet(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(
X = 1:nrow(Rsubunits),
FUN = function(x) {
RsubunitsV <- unlist(Rsubunits[x,], use.names = F)
RsubunitsV <- RsubunitsV[RsubunitsV != ""]
return(geometricMean(data.use[RsubunitsV,]))
}
)
from cellchat.
@zh-Bian I have no idea on this error for now. I searched the similar issue online, and you might can try library.path <- .libPaths() library("cellchat", lib.loc = library.path)
. Please check here. If it does not work, can you share your cellchat object with me or your colleague?
from cellchat.
@zh-Bian library.path <- .libPaths(); library("CellChat", lib.loc = library.path)
from cellchat.
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
from cellchat.
@zh-Bian I will take a look and fix this issue. For now, please just run this function only one time.
from cellchat.
OK. The way for me to use the package is interesting, and the package is useful. Thank you very much for answering my questions.
from cellchat.
@zh-Bian Hello, just let you know that I have no issue to rerun cellchat <- computeCommunProb(cellchat)
in the same Rstudio.
from cellchat.
Related Issues (20)
- Error netVisual_heatmap() on a merged object from Seurat
- netAnalysis_signalingRole_network cluster.cols and cluster.rows not working HOT 1
- error with identifyOverExpressedGenes(cellchat) HOT 1
- Error in if (dim(prob)[3] <= 25) { : argument is of length zero HOT 2
- NetP empty after running computeCommunProb HOT 1
- Missing Column `annotation` in LRsig after merge cellchat and celltalk L-R pair
- parameter "group.by" in subsetCellChat doesn't work
- Issue with installing CellChat package in R studio HOT 1
- Why haven't we utilized single-cell proteomics for cell communication recognition and prediction? HOT 1
- Error in createCellChat object
- [email protected] 0 x 12257 sparse Matrix of class "dgCMatrix" HOT 2
- rankingsimilarity - back to issue #160 HOT 1
- unused arguments (min.dist = 0.3, n.neighbors = k) HOT 1
- Using a two-species sample HOT 1
- Error in base::colSums(x, na.rm = na.rm, dims = dims, ...) : 'x' must be an array of at least two dimensions HOT 5
- could not find function "findEnrichedSignaling" HOT 1
- mergeCellChat
- explanation of the df from subsetCommunication HOT 4
- error in netVisual_bubble plotting HOT 4
- Incorrect documentation / use of thresh.pc argument HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cellchat.