CellChat
CellChat copied to clipboard
Cannot use remove.isolate = T in netVisual_circle
Hi all!
I would like to remove all my isolate nodes when I used netVisual_circle, but it returns an error:
netVisual_circle(cellchat_HT_sig@net$weight, vertex.weight = groupSize, weight.scale = T, sources.use = c("T0","T1", "T2", "T3", "T4", "T5"), label.edge= F, title.name = "Interaction weights/strength", vertex.label.cex=5, #labels arrow.size = 3, vertex.size.max = 25, #point edge.width.max = 50, remove.isolate = T )
Error in i_set_vertex_attr(x, attr(value, "name"), index = value, value = attr(value, : Length of new attribute value must be 1 or 19, the number of target vertices, not 22
Thanks in advance for your help! Best
@nsdelablancac This issue is now fixed.