matrixPlot: heatmap for matrix

Description Usage Arguments Details Value Author(s)

Description

Create heatmap from a matrix

Usage

1
matrixPlot(x, nrgcols = 50, rlabels = TRUE, clabels = TRUE, rcols = 1, ccols = 1, k = 10, title = "", ...)

Arguments

x

a matrix

nrgcols

number of colors to use

rlabels

whether to use row labels

clabels

whether to use column labels

rcols

use supplemental row label

ccols

use supplemental column label

k

number of tick labels for scale bar

title

title for the plot

...

additional argument

Details

This function can be used to plot any numberic matrix, e.g., correlation matrix, S/N matrix, signal intensity matrix, etc

Value

heatmap

Author(s)

Yongming Sun


ABarray documentation built on Nov. 8, 2020, 5:25 p.m.