You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
netVisual_circle(cellchat_PD@net$weight, vertex.weight = groupSize, weight.scale = T, label.edge= F, title.name = "Interaction weights/strength in PD",arrow.size = 0.05)
Error in i_set_vertex_attr(x, attr(value, "name"), index = value, value = attr(value, :
Length of new attribute value must be 1 or 17, the number of target vertices, not 14
I have checked the element below:
length(groupSize)
[1] 14
length(unique(seurat_PD$subtype))
[1] 17
And running the cellchat_PD@net$count is normal.
netVisual_circle(cellchat_PD@net$count, vertex.weight = TRUE, weight.scale = TRUE, label.edge = FALSE, title.name = "Number of interactions in PD",arrow.size = 0.05)
What's wrong with my groupSize? And how can I fix it?
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: