Hi, I am using the "igraph" package to plot a network. I need most of the vertices to be green and circular. A few selected vertices I need to change to make them blue squares.
I created this loop to color the necessary nodes blue but I dont know how to change their shapes: for(i in projectionV.node) { base.net.node <- set.vertex.attribute(base.net.node, name="color", index=which(V(base.net)$name==i), value=blue.color) } help is much appreciated! -- View this message in context: http://r.789695.n4.nabble.com/Changing-shapes-of-some-Nodes-tp4675831.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.