getBioNetPlotLocations {caOmicsV} | R Documentation |
Get plot locations for a node on caOmicsC bioNetCircos layout
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
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)