Description Usage Arguments Value Author(s) Examples
View source: R/caOmicsV.bioNetCircos.R
Bar plot method for caOmicsV bioNetCircos layout. This will plot one track of bars for every node. bioNetCircos layout and graphic device must be initialized first.
1 | plotBioNetBars(dataValues, outer, inner, plotColors)
|
dataValues |
numeric matrix with range of 0 ~ 1 for bar height. total rows of the matrix must be same as the number of nodes and row names must be same as the vertex names in bioNetGraph |
outer |
non-negative numeric, the outside boundary of plot area from node center |
inner |
non-negative numeric, the inside boundary of plot area from node center |
plotColors |
character vector or vector of R color specification, color names for each sample, pre-generated to control sample colors. |
None
Henry Zhang
1 2 3 4 5 6 7 8 9 10 | data(bionetPlotDemoData)
expr <- bionetPlotDemoData$heatmapData[[1]]
bioNet <- bc3net(expr)
initializeBioNetCircos(bioNet, totalSamples=60)
showBioNetNodesLayout()
methyl <- bionetPlotDemoData$categoryData[[1]]
sampleColors <- c(rep("red", 20), rep("blue", 20), rep("cyan", 20))
plotBioNetBars(methyl, outer=1.6, inner=1.5, plotColors=sampleColors)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.