labelBioNetNodeNames: Label Names for Each Node on Network Graph

Description Usage Arguments Value Author(s) Examples

View source: R/caOmicsV.bioNetCircos.R

Description

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

Usage

1
2
3
    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

1
2
3
4
5
6
7
8
    data(bionetPlotDemoData)
    expr <- bionetPlotDemoData$heatmapData[[1]]
    bioNet <- bc3net(expr)
    initializeBioNetCircos(bioNet)

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

hzhanghenry/caOmicsV documentation built on May 17, 2019, 10:07 p.m.