This document serves to test the R/qtlcharts function iheatmap.

knitr::opts_chunk$set(fig.width=9, fig.height=6)
set.seed(69891250)
library(qtlcharts)
n <- 101
x <- y <- seq(-2, 2, len=n)
z <- matrix(ncol=n, nrow=n)
for(i in seq(along=x))
    for(j in seq(along=y))
        z[i,j] <- x[i]*y[j]*exp(-x[i]^2 - y[j]^2)
iheatmap(z, x, y)


kbroman/qtlcharts documentation built on May 10, 2023, 6:07 p.m.