plot_contact_matrix {Bernadette} | R Documentation |
Contact matrix heatmap
plot_contact_matrix(x)
x |
data.frame; a contact matrix. See contact_matrix. |
A ggplot object that can be further customized using the ggplot2 package.
# Import the projected contact matrix for Greece:
conmat <- contact_matrix(country = "GRC")
plot_contact_matrix(conmat)