This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Help with Error in cellchat

Hi Biostar,

I have two large cellchat objects, 16Gb and 21Gb. I try to merge them to run rankNet(). However, I got the error below. Would you please have a suggestion in this case. Thank you so much!

ob.list <- list(Con1 = cellchat_condition1, Con2 = cellchat_condition2)
cellchat <- mergeCellChat(list(Con1 = cellchat_condition1, Con2 = cellchat_condition2), add.names = names(ob.list))
Error in cbind.Matrix(x, y, deparse.level = 0L) :
p[length(p)] cannot exceed 2^31-1
cellchat

The error suggests you are hitting the vector size limit of R (2^31-1). Additionally, the CellChat repository has been archived, and it will no longer be possible to open a new issue. Take a look at the following issue, which includes a fix for a similar problem.

https://github.com/sqjin/CellChat/issues/348

Thank you so much for your reply! Very nice paper. May I know what is PITA?

pain in the a**

Hi Arup, thank you for the link. I checked it but couldn't find the resolution.

0 answers

No answers yet.

Log in to answer this question.