plot_contact_matrix: Contact matrix heatmap

View source: R/plot_contact_matrix.R

plot_contact_matrixR Documentation

Contact matrix heatmap

Description

Contact matrix heatmap

Usage

plot_contact_matrix(x)

Arguments

x

data.frame; a contact matrix. See contact_matrix.

Value

A ggplot object that can be further customized using the ggplot2 package.

Examples

# Import the projected contact matrix for Greece:
conmat <- contact_matrix(country = "GRC")

plot_contact_matrix(conmat)


bernadette-eu/Bernadette documentation built on July 1, 2024, 9:58 p.m.