buildLabel: Create a text label describing the GO term and its score

Description Usage Arguments Value Examples

View source: R/radialGO.R

Description

Create a text label describing the GO term and its score

Usage

1
buildLabel(goTerm, scores)

Arguments

goTerm

A string containing the GO ID to use

scores

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

Value

A string containing the label text

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")
buildLabel(names(scores[1]), scores)

## End(Not run)

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