Description Usage Arguments Value Author(s) Examples
View source: R/caOmicsV.bioMatrix.R
Plot row names on the left or right side of biomatrix plot area. Phenotype names, gene names, and remark notes are all plotted with this function. bioMatrix layout and graphic device must be initialized first.
1 2 | plotBioMatrixRowNames(geneNames, areaName, colors, side="left",
skipPlotRows=0, skipPlotColumns=0)
|
geneNames |
character vector, row names to be plotted |
areaName |
character vector, either "omicsData" or "phenotype" |
colors |
character vector of color names or R color specification |
side |
character vector, either "left" or "right" |
skipPlotRows |
non-negative integer, total rows on plot area that should be skipped from the first row, default 0 |
skipPlotColumns |
non-negative integer, columns (sampleWidth) will be skipped when plotting items on remark area |
None
Henry Zhang
1 2 3 4 5 6 7 8 | initializeBioMatrixPlot(numOfGenes=20, numOfSamples=50)
geneNames <- paste0("gene_", 1:20)
miRNANames <- paste0("miRNA_", 1:20)
showBioMatrixPlotLayout(geneNames, paste("Sample", 1:50), "Diagnosis")
plotBioMatrixRowNames(miRNANames, areaName="omicsData", colors="blue",
side="right")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.