multiHeatmap: Arrange Multiple Heatmaps on a Grid

View source: R/multiHeatmap.R

multiHeatmapR Documentation

Arrange Multiple Heatmaps on a Grid

Description

Function to generate a grid of heatmaps to compare the performances of particular sets of interpolations across a set of __criteria__ or __methods__.

  • If by = "crit", rows of heatmaps for a chosen method are arranged by criterion.

  • If by = "method", rows of heatmaps for a chosen criterion are arranged by method.

Usage

multiHeatmap(
  crit,
  agEval,
  m,
  by = "crit",
  f = "median",
  d = 1:length(agEval),
  colors = c("#F9E0AA", "#F7C65B", "#FAAF08", "#FA812F", "#FA4032", "#F92111")
)

Arguments

crit

character; A vector describing the performance metrics of interest

agEval

agEvaluate; An object containing the aggregated performance metrics (result of agEvaluate())

m

character; A vector describing the interpolation methods of interest

by

character; Either "crit" or "method"

f

character; The statistic of interest that will be depicted by the heatmap. Possible choices are listed in ?agEvaluate.

d

numeric; A vector to indicate datasets of interest

colors

character; A vector of the desired color palette, with entries in HTML format ("#xxxxxx")


castels/interpTools documentation built on June 7, 2024, 4:20 p.m.