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

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

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

data(Exp1_R25_pept, package="DAPARdata")
obj <- Exp1_R25_pept[seq_len(10)]
level <- 'peptide'
metacell.mask <- match.metacell(GetMetacell(obj), c("Missing POV", "Missing MEC"), level)
indices <- GetIndices_WholeLine(metacell.mask)
wrapper.heatmapD(obj)


prostarproteomics/DAPAR documentation built on March 28, 2024, 4:44 a.m.