Description Usage Arguments Value Author(s) Examples
View source: R/caOmicsV.bioNetCircos.R
Set up parameters for layout of caOmicsV bioNetCircos plot including total number of samples, default width of a sample on a circos track , node radius, padding width between two nodes, plot area of each node, default x and y coordinates of points on a circle with radius of 1, and node layout.
1 2 3 | initializeBioNetCircos(bioNet, totalSamples=100, sampleWidth=100,
nodeRadius=1, nodePadding=1, plotAreaWidth=1,
layout=layout.fruchterman.reingold(bioNet))
|
bioNet |
an igraph object |
totalSamples |
non-negative numeric, total number of samples to be plotted |
sampleWidth |
non-negative numeric, total number of points to represent a sample on a circular track. |
nodeRadius |
non-negative numeric, radius of a node on biological network. |
nodePadding |
non-negative numeric, padding width between two node on biological network. |
plotAreaWidth |
non-negative numeric, outside boundary of plot area of a node, relative to node radius, default 1 (same as nodeRadius) |
layout |
two dimentional numeric matrix, node layout of the igraph returned by igraph layout method |
None
Henry Zhang
1 2 3 4 5 6 7 | data(bionetPlotDemoData)
expr <- bionetPlotDemoData$heatmapData[[1]]
bioNet <- bc3net(expr)
initializeBioNetCircos(bioNet, totalSamples=100, sampleWidth=100,
nodeRadius=1, nodePadding=1, plotAreaWidth=1,
layout=layout.fruchterman.reingold(bioNet))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.