Learn R Programming

RUVcorr (version 1.4.2)

genePlot: Plot of means and inter-quantile ranges of all genes.

Description

genePlot plots the means vs. the inter-quantile ranges of the gene expression values of all genes with the possibility to highlight interesting sets of genes.

Usage

genePlot(Y, index = NULL, legend = NULL, col.h = "red", title)

Arguments

Y
A matrix of gene expression values or an object of the class simualteGEdata.
index
A vector of indices of genes of interest to be displayed in a different color, if index=NULL no genes are highlighted.
legend
A character string describing the highlighted genes.
col.h
The color of the highlighted genes.
title
A character string describing the title of the plot.

Value

genePlot returns a plot.

Examples

Run this code
Y<-simulateGEdata(500, 500, 10, 2, 5, g=NULL, Sigma.eps=0.1,
250, 100, intercept=FALSE, check.input=TRUE)
try(dev.off(), silent=TRUE)
par(mar=c(5.1, 4.1, 4.1, 2.1), mgp=c(3, 1, 0), las=0)
genePlot(Y, index=1:100, legend="Expressed genes", title="IQR-Mean Plot")

Run the code above in your browser using DataLab