Plot Row Names on caOmicsV bioMatrix Layout

Share:

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

1
2
    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

Author(s)

Henry Zhang

Examples

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")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.