Description Usage Arguments Value Author(s) Examples
View source: R/caOmicsV.bioNetCircos.R
Get plot locations for a node on caOmicsC bioNetCircos layout
1 | getBioNetPlotLocations(nodeCenter, outer, inner)
|
nodeCenter |
numeric, x and y coordinates of the node center |
outer |
non-negative numeric, outer limit of plot track relative to node center |
inner |
non-negative numeric, inner limit of plot track relative to ode center |
nodeCenter |
numeric, x and y coordinates of the node center |
outPositions |
two dimensional numeric matrix for x and y coordinates of outer boundary for plot |
inPositions |
two dimensional numeric matrix for x and y coordinates of inner boundary for plot |
positionIndex |
matrix with index of x and y coordinates of base plot position for each sample |
Henry Zhang
1 2 3 4 5 6 7 8 9 10 11 12 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.