getSubgraphNodes: Generate the subgraph implied by the list of nodes passed in.

Description Usage Arguments Value Examples

View source: R/radialGO.R

Description

Generate the subgraph implied by the list of nodes passed in.

Usage

1
getSubgraphNodes(enrichment_results)

Arguments

enrichment_results

A named numerical vector containing GO IDs as names and the corresponding score

Value

A data frame containing one column, named "id", with the nodes needed for building the 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")
getSubgraphNodes(scores)

## End(Not run)

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