CellChat
CellChat copied to clipboard
rankSimilarity Error: attempt to set 'rownames' on an object with no dimensions
Hello, I was attempting to run plots on merged cellchat dataset, the other functions run just fine except rankSimilarity, where an error message says:
rankSimilarity(cellchat, type = "functional")
Error in `rownames<-`(`*tmp*`, value = sub("--.*", "", rownames(data1))) :
attempt to set 'rownames' on an object with no dimensions
Can you please help with this? Thank you so much!
@h1hui This is an error related to your data. I have no idea except that I can replicate your error if you can provide the cellchat object.
Hi, I have the same problem, have you been able to solve this?