Learn R Programming

EMA (version 1.4.4)

sample.plot: barplot of genes expression level

Description

Plot a barplot of the expression level of each gene of interest.

Usage

sample.plot(data, labels=NULL, plot=TRUE, ...)

Arguments

data
Expression matrix, genes on rows and samples on columns
labels
A character string or numeric vector of label
plot
Display output barplot if TRUE
...
Arguments to be passed to methods, such as graphical parameters (see 'par').

Details

For each gene (row of the matrix), a barplot of the expression level for all the samples is ploted. The colors are chosen according to the label information.

Examples

Run this code

data(marty)
sample.plot(marty[1:3,], labels=marty.type.cl)

Run the code above in your browser using DataLab