Plot a world map showing the COI in each region where reads were sampled from.
Usage
world_map(data, variable, label = NULL, alpha = 0.1, breaks = c(1, 2))
Arguments
- data
The data to be plotted.
- variable
The variable the data will plot.
- label
The label for the variable.
- alpha
The alpha value for the plotted data.
- breaks
The breaks for the color scale.
Details
Creates a world map and overlays the COI in each region. The magnitude of the COI is indicated by both the color and the size of the bubble.
See also
This website for more information on creating bubble graphs in R.
Other plotting functions:
error_plot()
,
sensitivity_plot()