heatmapForMissingValues: xxx

View source: R/plots_heatmaps.R

heatmapForMissingValuesR Documentation

xxx

Description

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.

Usage

heatmapForMissingValues(
  x,
  col = NULL,
  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

data(Exp1_R25_prot, package="DAPARdata")
obj <- Exp1_R25_prot[seq_len(100)]
level <- 'protein'
metacell.mask <- match.metacell(GetMetacell(obj), c("Missing POV", "Missing MEC"), level)
indices <- GetIndices_WholeLine(metacell.mask)
obj <- MetaCellFiltering(obj, indices, cmd = "delete")
qData <- Biobase::exprs(obj$new)
heatmapForMissingValues(qData)


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