Description Usage Arguments Value Examples
setNodeFontColor
set the specified nodes to the same specifed node font color
1 2 | ## S4 method for signature 'RCyjs'
setNodeFontColor(obj, nodeIDs, newValues)
|
obj |
an RCyjs instance |
nodeIDs |
a character string (one or more) |
newValues |
a character string, a legal CSS color name (one or more) |
no value returned
1 2 3 4 5 6 | if(interactive()){
g <- simpleDemoGraph()
rcy <- RCyjs(title="setNodeFontColor", graph=g)
layout(rcy, "cose")
setNodeFontColor(rcy, "red")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.