Learn R Programming

caOmicsV (version 1.2.0)

plotBioMatrixRowNames: Plot Row Names on caOmicsV bioMatrix Layout

Description

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.

Usage

plotBioMatrixRowNames(geneNames, areaName, colors, side="left", skipPlotRows=0, skipPlotColumns=0)

Arguments

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

Value

None

Examples

Run this code
    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")

Run the code above in your browser using DataLab