computeCommunProb :Error in data.use[RsubunitsV, ] #111
Comments
Hi @wulc21, I have no idea on this issue except that I can replicate your error. If you can share me your CellChat object, I am happy to test it; otherwise, you can try the source codes line by line to figure out the reason. |
I encounter the same issue.
|
@DawnEve Can you please make sure there is no obvious issue of the following four parts: 1) Use the correct CellChatDB: either mouse or human; 2) Please check the input data matrix |
Hi, I've used following code on an Seurat scRNASeq object and I still get the same Error message
Then I followed the recommended steps and I got following results: (1) I'm using the MouseDB and my scRNASeq dataset is from mice Can you please help me? Thanks! |
should the unique(cellchat@idents) be the cluster names? I have 1) Use the correct CellChatDB: mouse ; 2) the input data matrix cellchat@data, range from 0.00000 to 8.34498, dimension 14393 x 2814 ; 3) the data matrix cellchat@data.signaling, range from 0.00000 to 8.34498, dimension 3000 x 2814; 4) the cell group information is correct: unique(cellchat@idents): 1 to 11. I still got similar error message |
I ran into this error also. I found that I used the wrong idents from Seurat! |
I am having the same error, please tell me how to fix the idents from Seurat to solve the problem. |
Perhaps the following two steps were missed, cellchat <- identifyOverExpressedGenes(cellchat) This issue mentioned above was solved for me when the two steps were executed beforehand. |
Hi All, It is because the RSubunitsV variable is NULL. This happens when the cellchat@LR slot is empty. In other words, CellChat was unable to identify any relevant Ligand-Receptor pairs in the gene list you provided. This slot get's populated when you run identifyOverExpressedInteractions(). I recommend increasing the gene list (rownames or relax some upstream filtering pipeline) you provided and then it will work. Best, |
@dmj6288 @sqjin Hello -- having similar difficulty with this step (Error in data.use[RsubunitsV, ]: subscript out of bounds). Confirmed that the cellchat@LR slot is empty, even after running identifyOverExpressedInteractions(). Gene list constituent of 50K+ HUGO symbols. Running with bulk samples (N=61), in accordance with previous mention by @sqjin that such analysis is possible with CellChat despite its single cell intentions. Kindly find my cellchat object attached Any insight is greatly appreciated. |
I believe it is possible to run bulk samples with cellchat, but when I run cellchat on bulk data, I've always received a very small number of LR interactions. |
There must be some issue with your dataset. |
I had similar error (Error in data.use[RsubunitsV, ] : subscript out of bounds) when I forgot to run: cellchat <- updateCellChat(cellchat) before Running cellchat <- updateCellChat(cellchat) before those two commends solved the problem in my case |
Problem solved! Thanks so much!! |
Hi dear professor, could you help me solve the problem? Thank you very much
cellchat <- computeCommunProb(cellchat)
Error in data.use[RsubunitsV, ] : 下标出界
The text was updated successfully, but these errors were encountered: