Description Usage Arguments Value Examples
Build a data frame of edges from the nodes. NOTE: Due to a bug in the way DiagrammeR renders Graphviz objects, edges currently do not render with the correct stylings. To see that they are specified correctly, one can render the graph with the output="visNetwork" option, which shows correct edges but loses the node layout
1 | buildEdgeDF(nodeDF)
|
nodeDF |
A data frame containing at least columns id, label, |
A data frame of edges (from, to, rel)
1 2 3 4 5 6 | ## Not run:
scores <- c(0.5, 0.2, 0.001)
names(scores) <- c("GO:0008150", "GO:0001360", "GO:0006139")
buildEdgeDF(buildNodeDF(scores, 2))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.