drawBioNetNodeBackground {caOmicsV} | R Documentation |
Paint (with any color other than white) background for a circular track on each node on caOmicsV bioNetCircos layout. Graphic device and igraph object must exist.
drawBioNetNodeBackground(trackLocations, bgColor=gray(0.9, alpha=0.5))
trackLocations |
a list returned by getBioNetPlotLocations() function. |
bgColor |
character vector or R color specification for background color |
None
Henry Zhang
data(bionetPlotDemoData) expr <- bionetPlotDemoData$heatmapData[[1]] bioNet <- bc3net(expr) initializeBioNetCircos(bioNet) bioNetGraph <- getBioNetGraph() outer <- 1.5 inner <- 1.0 nodeCenter <- as.numeric(bioNetGraph$layout[1,]) plotLocations <- getBioNetPlotLocations(nodeCenter, outer, inner) showBioNetNodesLayout() eraseBioNetNode() drawBioNetNodeBackground(plotLocations)