I am using Netbiov to visualize my network (igrpah object). When i was using the mst.plot function, the vertex.color parameter is a color vector, but it seems that it needs a vector with length is less than my vertex number.
gg<-make_ring(3) # make a 3-vertex network mst.plot(gg) # no problem
mst.plot(gg,vertex.color = c("green","blue")) # also no problem
mst.plot(gg,vertex.color = c("green","blue","black")) # gave error:
Error in .set.mst.node.col(vertex.color, gt, expression) .
How to solve this problem?