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

View source: R/plots_heatmaps.R

wrapper.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

Builds a heatmap of the quantitative proteomic data of a MSnSet object.

Usage

wrapper.heatmapD(
  obj,
  distance = "euclidean",
  cluster = "complete",
  dendro = FALSE
)

Arguments

obj

An object of class MSnSet.

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)

Alexia Dorffer

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)
wrapper.heatmapD(obj)

## End(Not run)



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