jinworks / CellChat

R toolkit for inference, visualization and analysis of cell-cell communication from single-cell and spatially resolved transcriptomics
GNU General Public License v3.0
195 stars 21 forks source link

Error for netVisual_chord_cell() #107

Closed rotavirus2019 closed 2 weeks ago

rotavirus2019 commented 2 months ago

I ran the following code netVisual_chord_cell(cellchat, "FN1", slot.name = "netP"),which returned Error in [<-.data.frame(*tmp*, df[, 1] == nm, 4, value = c(NA_real_, : missing values are not allowed in subscripted assignments of data frames. However, netVisual_aggregate(cellchat, signaling = "FN1", layout = "circle") worked normally. I changed the pathway to show. netVisual_chord_cell(cellchat, "NOTCH", slot.name = "netP") worked.

I didn't know what's wrong with netVisual_chord_cell(cellchat, "FN1", slot.name = "netP"). Could you please tell me how to sovle it? Thank you!