heatmap.clinical: Plot clinical variables

Description Usage Arguments

View source: R/heatmap.R

Description

heatmap.clinical plots clinical variables as boxes in the current frame. Assumes 'x' is a matrix with color information in each cell. Colors are usually given using character strings such as "white", "red", etc. See 'colors()' for a list of color names. NAs are plotted with color as given by 'na.color'.

Usage

1
heatmap.clinical(x, na.color = "grey")

Arguments

x

matrix with colors in each cell, or NAs. Will also accept data frames (with rows representing patients)

na.color

color to be used for missing values, i.e., NAs


vdumeaux/mixtR documentation built on May 3, 2019, 4:58 p.m.