Skip to contents

Plot spatial heatmap for a single time point

Usage

plot_spatial_heatmap(
  results,
  time_point,
  compartment = "I",
  replicate = 1,
  n_rows = 5,
  n_cols = 5
)

Arguments

results

plague_results object (must be spatial)

time_point

Time point to plot

compartment

Compartment to plot (default "I")

replicate

Which replicate to plot (default 1)

n_rows

Number of rows in spatial grid (default 5)

n_cols

Number of columns in spatial grid (default 5)

Value

ggplot2 object