Learn R Programming

EMMIXgene (version 0.1.4)

heat_maps: Heat maps

Description

Plot heat maps of gene expression data. Optionally sort the x-axis according to a predetermined clustering.

Usage

heat_maps(dat, clustering = NULL, y_lab = NULL)

Value

A ggplot2 heat map.

Arguments

dat

matrix of gene expression data.

clustering

a vector of sample classifications. Must be same length as the number of columns in dat.

y_lab

optional label for y-axis.

Examples

Run this code

example <- heat_maps(alon_data[seq_len(100), ])


Run the code above in your browser using DataLab