`heatK()` plots the heatmap of a kernel matrix.
Usage
heatK(
K,
cos.norm = FALSE,
title = NULL,
color = c("red", "yellow"),
raster = FALSE
)
Arguments
- K
Kernel matrix (class "matrix").
- cos.norm
If TRUE, the cosine normalization is applied to the kernel matrix so its elements have a maximum value of 1. (Defaults: FALSE).
- title
Heatmap title (optional).
- color
A vector of length 2 containing two colors. The first color will be used to represent the minimum value and the second the maximum value of the kernel matrix.
- raster
In large kernel matrices, raster = TRUE will draw quicker and better-looking heatmaps. (Defaults=FALSE).