generateGraph: Generate the graph visualization of GO enrichment scores

Description Usage Arguments Value Examples

View source: R/radialGO.R

Description

Generate the graph visualization of GO enrichment scores

Usage

1
generateGraph(scores, top, cutoff)

Arguments

scores

A named numeric vector with GO IDs and corresponding scores

top

The number of nodes to use when generating the subgraph

cutoff

The cutoff to be used for hiding nodes

Value

A graph object to be used with render_graph()

Examples

1
2
3
4
5
6
## Not run: 
scores <- c(0.5, 0.2, 0.001)
names(scores) <- c("GO:0008150", "GO:1901360", "GO:0006139")
generateGraph(scores, 2, 0.3)

## End(Not run)

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