make a list of character vectors that can be used as a value for the nodeAttrs argument in agopen
make a list of character vectors that can be used as a value for the nodeAttrs argument in agopen
makeNodeAttrs(g, label = nodes(g), shape = "ellipse", fillcolor = "#e0e0e0", ...)
g |
graph |
label |
character of length either |
shape |
character of length either |
fillcolor |
character of length either |
... |
further named arguments that are character vectors of length either 1 or numNodes(g) |
This function is trivial but convenient.
A list of named character vectors, each of which with
length numNodes(g)
.
Wolfgang Huber <huber@ebi.ac.uk>
g <- randomEGraph(letters[1:10], p=0.2) makeNodeAttrs(g)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.