Open xuansuyang opened 1 year ago
@xuansuyang I also met this issue recently, which was possibly caused by an upgrade of igraph
package (e.g., version 1.4.2). At my end, I just downgraded the igraph
to version 1.3.4 and restarted the Rstudio, and the issue was then resolved.
To downgrade the igraph
to version 1.3.4, you can run the command library(devtools);install_version("igraph", version = "1.3.4", repos = "http://cran.us.r-project.org")
Thank you.I will try it later.
I have updated the function netVisual_circle_neuron
to be compatible with the latest version of igraph
. So one can also reinstall NeuronChat
without downgrade igraph
I have updated the function
netVisual_circle_neuron
to be compatible with the latest version ofigraph
. So one can also reinstallNeuronChat
without downgradeigraph
Thanks for your answer.I will reinstall it later.
When I run the sample data according to the tutorial, run until netVisual_circle_neuron(net_top10, edge.width.max = 10, color.use = colours, vertex.label.cex = 1.5) appears Error in i_set_edge_attr(x, attr(value, "name"), index = value, value = attr(value, : Length of new attribute value must be 1 or 10, the number of target edges, not 3 The four sets of sample data provided by the tutorial will all encounter the same attribute error