labelBioNetNodeNames {caOmicsV} | R Documentation

## Label Names for Each Node on Network Graph

### Description

Plot name for one or more nodes on an igraph network. igraph object and graphic device must be initialized first.

### Usage

        labelBioNetNodeNames(nodeList=NULL, labelColor="black",
            labelLocation=c("bottom", "left", "top", "right"),
            labelOffset=0.5)

### Arguments

`nodeList` | non-negative integer, index of node(s) on a bioNet layout
`labelColor` | character vector, colored for text (labels)
`labelLocation` | character vector, location relative to node center, either "bottom", "left", "top", or "right"
`labelOffset` | non-negative numeric, distance from node outside boundary

### Value

None

### Author(s)

Henry Zhang

### Examples

        data(bionetPlotDemoData)
        expr <- bionetPlotDemoData$heatmapData[[1]]
        bioNet <- bc3net(expr)
        initializeBioNetCircos(bioNet)

        showBioNetNodesLayout()
        labelBioNetNodeNames(nodeList=c(1, 4, 7), labelColor="black",
            labelLocation="bottom")

[Package caOmicsV version 1.10.0 Index]