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

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

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

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)
qData <- Biobase::exprs(obj)
conds <- Biobase::pData(obj)[["Condition"]]
heatmapD(qData, conds)



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