Learn R Programming

DAPAR (version 1.4.7)

mvImage: Heatmap of missing values

Description

Plots a heatmap of the quantitative data. Each column represent one of the conditions in the object of class MSnSet and the color is proportional to the mean of intensity for each line of the dataset. The lines have been sorted in order to vizualize easily the different number of missing values. A white square is plotted for missing values.

Usage

mvImage(qData, labels)

Arguments

qData
A dataframe that contains quantitative data.
labels
A vector of the conditions (labels) (one label per sample).

Value

A heatmap

Examples

Run this code
data(UPSpep25)
qData <- Biobase::exprs(UPSpep25)
labels <- Biobase::pData(UPSpep25)[,"Label"]
mvImage(qData, labels)

Run the code above in your browser using DataLab