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