Description Usage Arguments Value Author(s) Examples
View source: R/caOmicsV.bioMatrix.R
Bar plot method for caOmicsV bioMatrix layout with non-negative numeric matrix or vector with values in range of 0 ~ 1. bioMatrix layout and graphic device must be initialized first.
1 2 | plotBioMatrixBars(barData, barColor="red", areaName="omicsData",
byRow=TRUE, skipPlotRow=0, skipPlotColumns=0)
|
barData |
non-negative numeric matrix or vector with values in range of 0 ~ 1 |
barColor |
character vector for color name or R color specification |
areaName |
character vector, name of plot area, currentlt use "omicsData" only |
byRow |
logic, whether plot bars for each row or not |
skipPlotRow |
non-negative integer, how many row(s) to be skipped from first row |
skipPlotColumns |
non-negative integer, how many row(s) to be skipped from first column |
None
Henry Zhang
1 2 3 4 5 | initializeBioMatrixPlot(numOfGenes=1, numOfSamples=50)
showBioMatrixPlotLayout("Gene", paste("Sample", 1:50), "Diagnosis")
barData <- matrix(c(rep(0.25, 15), rep(0.75, 20), rep(0.5, 15)), nrow=1)
plotBioMatrixBars(barData, barColor="red")
|
Loading required package: igraph
Attaching package: 'igraph'
The following objects are masked from 'package:stats':
decompose, spectrum
The following object is masked from 'package:base':
union
Loading required package: bc3net
Loading required package: c3net
Loading required package: infotheo
Loading required package: Matrix
Loading required package: lattice
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.