Learn R Programming

netresponse (version 1.32.2)

set.breaks: Set breaks

Description

Set breakpoints for two-way color palette.

Usage

set.breaks(mat, interval = 0.1)

Arguments

mat
Matrix to visualize.
interval
Density of color breakpoints.

Value

  • A vector listing the color breakpoints.

References

L. Lahti et al.: Global modeling of transcriptional responses in interaction networks. Submitted.

Examples

Run this code
set.breaks(array(rnorm(100), dim = c(10, 10)), interval = .1)

Run the code above in your browser using DataLab