heatmapForMissingValues: This function is inspired from the function 'heatmap.2' that...

heatmapForMissingValuesR Documentation

This function is inspired from the function heatmap.2 that displays quantitative data in the Biobase::exprs() table of an object of class MSnSet. For more information, please refer to the help of the heatmap.2 function.

Description

Heatmap inspired by the heatmap.2 function.

Usage

heatmapForMissingValues(
  x,
  col = heat.colors(100),
  srtCol = NULL,
  labCol = NULL,
  labRow = NULL,
  key = TRUE,
  key.title = NULL,
  main = NULL,
  ylab = NULL
)

Arguments

x

A dataframe that contains quantitative data.

col

colors used for the image. Defaults to heat colors (heat.colors).

srtCol

angle of column conds, in degrees from horizontal

labCol

character vectors with column conds to use.

labRow

character vectors with row conds to use.

key

logical indicating whether a color-key should be shown.

key.title

main title of the color key. If set to NA no title will be plotted.

main

main title; default to none.

ylab

y-axis title; default to none.

Value

A heatmap

Author(s)

Samuel Wieczorek

Examples

utils::data(Exp1_R25_prot, package='DAPARdata')
obj <- Exp1_R25_prot[1:1000]
level <- obj@experimentData@other$typeOfData
metacell.mask <- match.metacell(GetMetacell(obj), 'missing', level)
indices <- GetIndices_WholeLine(metacell.mask)
obj <- MetaCellFiltering(obj, indices, cmd='delete')
qData <- Biobase::exprs(obj$new)
heatmapForMissingValues(qData)


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