SCA-IRCM / SingleCellSignalR_v1

R package
26 stars 17 forks source link

cell_signaling rowSums error #19

Closed sylvia-science closed 4 years ago

sylvia-science commented 4 years ago

I'm getting the following error when I run the cell_signaling function with the autocrine setting. So it seems to run for two cell pairs and then throws the rowSums error.

Autocrine signaling: Checking for cell/cell signaling: 115 interactions from 1 baseline B Cell to 1 baseline B Cell 103 interactions from 1 baseline B Cell to 1 baseline CD14+ Mono Error in rowSums(temp) : 'x' must be an array of at least two dimensions

However, if I switch it to paracrine, it runs just fine. Why could this be?

SCA-IRCM commented 4 years ago

Hi, The error came from the fact that your cluster counted only one cell. A test has been added to avoid this error to happen again. You can install SingleCellSignalR v1.8 and it should work fine.

Thanks for using SingleCellSignalR!

SCA

sylvia-science commented 4 years ago

Thank you! I should have noticed that it was only one cell and that was the problem.