Description Usage Arguments Value Author(s) Examples
View source: R/caOmicsV.bioMatrix.R
Plot colored polygons on phenotype area of caOmicsV bioMatrix layout to show sample information such as diagnosis, tissue type, ... bioMatrix layout and graphic device must be initialized first.
1 2 | plotBioMatrixSampleData(rowNumber, areaName, fillColor=NA,
borderColor=NA, topAdjust=0, bottomAdjust=0)
|
rowNumber |
non-negative integer, number of the row where the data to be plotted |
areaName |
character vector, either "phenotype" or "omicsdata" |
fillColor |
character vector of color names or vector of R color specification |
borderColor |
character vector or a R colors specification for boarder color |
topAdjust |
non-negative numeric, height that will be reduced from top |
bottomAdjust |
non-negative numeric, height that will be reduced from bottom |
None
Henry Zhang
1 2 3 4 5 | initializeBioMatrixPlot(numOfGenes=1, numOfSamples=50)
showBioMatrixPlotLayout("Gene", paste("Sample", 1:50), "Diagnosis")
sampleColor <- c(rep("blue", 25), rep("red", 25))
plotBioMatrixSampleData(rowNumber=1, sampleColor, areaName="phenotype")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.