subHeatmap: ntp heatmap

Description Usage Arguments Details Value

View source: R/subHeatmap.R

Description

Heatmap with marker genes and class labels.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
subHeatmap(
  emat,
  res,
  templates,
  keepN = TRUE,
  labRow = NULL,
  classCol = getOption("subClassCol"),
  heatCol = NULL,
  ...
)

Arguments

emat

a numeric matrix with row features and sample columns.

res

a data frame, result from ntp function.

templates

data frame with two columns; class (factor or numeric) and probe (character).

keepN

a logical or numeric vector specifying which samples to keep.

labRow

a character specifying templates column used for labeling features.

classCol

a character vector specifying class colors.

heatCol

a character vector specifying heatmap colors (must be an even number).

...

additional arguments passed to image.

Details

subHeatmap provides a simple heatmap with samples and genes ordered according to subtype. The column bar indicates prediction p-values.

Value

a raster heatmap to visualize template feature expression.


peterawe/CMScaller documentation built on June 13, 2020, 4:49 a.m.