Learn R Programming

EMA (version 1.4.3)

distrib.plot: Distribution plots of genes expression level

Description

Plot the distribution of the expression level of each gene of interest.

Usage

distrib.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
If true, plots are displayed
...
Arguments to be passed to methods, such as graphical parameters (see 'par').

Value

  • A list of objects of class 'histogram':
  • midsThe n cell midpoints
  • countsn integers; for each cell, the number of 'x[]' inside.

Details

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

See Also

hist

Examples

Run this code
data(marty)

distrib.plot(marty[1:5,], labels=marty.type.cl)

Run the code above in your browser using DataLab