Description Usage Arguments Value Author(s) Examples
View source: R/caOmicsV.bioNetCircos.R
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.
1 | 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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.