heatmapD: This function is a wrapper to 'heatmap.2' that displays...

View source: R/plots_heatmaps.R

heatmapDR Documentation

This function is a wrapper to heatmap.2 that displays quantitative data in the Biobase::exprs() table of an object of class MSnSet

Description

Heatmap of the quantitative proteomic data of a MSnSet object

Usage

heatmapD(
  qData,
  conds,
  distance = "euclidean",
  cluster = "complete",
  dendro = FALSE
)

Arguments

qData

A dataframe that contains quantitative data.

conds

A vector containing the conditions

distance

The distance used by the clustering algorithm to compute the dendrogram. See help(heatmap.2)

cluster

the clustering algorithm used to build the dendrogram. See help(heatmap.2)

dendro

A boolean to indicate fi the dendrogram has to be displayed

Value

A heatmap

Author(s)

Florence Combes, Samuel Wieczorek, Enor Fremy

Examples

## Not run: 
utils::data(Exp1_R25_pept, package='DAPARdata')
obj <- Exp1_R25_pept[1:10,]
level <- obj@experimentData@other$typeOfData
metacell.mask <- match.metacell(GetMetacell(obj), 'missing', level)
indices <- GetIndices_WholeLine(metacell.mask)
qData <- Biobase::exprs(obj)
conds <- Biobase::pData(obj)[['Condition']]
heatmapD(qData, conds)

## End(Not run)


samWieczorek/DAPAR documentation built on May 6, 2022, 5:30 p.m.