Image: Modification to 'image()'.

View source: R/MegaLMM_functions.R

ImageR Documentation

Modification to image().

Description

Like 'image,CHMfactor-method', but with better defaults for correlation matrices especially.

Usage

Image(X, dimnames = FALSE, title = NULL, include_zero = TRUE, ...)

Arguments

X

numeric matrix to plot.

dimnames

should row/colnames of matrix be added to the plot

title

Optional title

include_zero

should the z-value zero be included in the scale?

Details

The default is to have the colors evenly spaced, instead of having the full range <0 and >0.

Value

ggplot object


deruncie/MegaLMM documentation built on June 10, 2025, 7:26 p.m.