buildEdgeDF: Build a data frame of edges from the nodes. NOTE: Due to a...

Description Usage Arguments Value Examples

View source: R/radialGO.R

Description

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

Usage

1
buildEdgeDF(nodeDF)

Arguments

nodeDF

A data frame containing at least columns id, label,

Value

A data frame of edges (from, to, rel)

Examples

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)

brucosper/RadialGO documentation built on Dec. 8, 2019, 10:32 a.m.