ngchmNewBar: Create a new Classification Bar for a NGCHM

Description Usage Arguments Value See Also

View source: R/functions.R

Description

This function is deprecated and will be removed in a future version. Please use chmNewCovariateBar. This function creates a new Classification Bar suitable for adding to a Next Generation Clustered Heat Map.

Usage

1
2
ngchmNewBar(label, type, data, colors = NULL, display = "visible",
  thickness = as.integer(10), merge)

Arguments

label

The name by which the classification bar will be known.

type

The string "discrete" or the string "continuous".

data

A vector of the data to be displayed in the classification bar. names(data) must be defined.

colors

A color map specifying how the data should be rendered.

display

Whether the classification bar will be "hidden" or "visible" (default).

thickness

The thickness of the classification bar in pixels. (Default 10).

merge

Algorithm for merging classifications when necessary ("average", "peakColor", "specialColor", or "mostCommon").

Value

An object of class ngchmBar

See Also

ngchmBar-class

chmNewColorMap

chmNewCovariateBar

chmAddCovariateBar


bmbroom/NGCHMR documentation built on Aug. 8, 2017, 5:17 p.m.