View source: R/plot_contact_matrix.R
plot_contact_matrix | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.