plot_leaflet: Interactive hex map of PlasmoMAPI output

Description Usage Arguments

View source: R/plot.R

Description

Interactive hex map of PlasmoMAPI output.

Usage

1
2
3
4
5
6
7
plot_leaflet(
  proj,
  fill_opacity = 0.8,
  legend_opacity = 1,
  map_type = 110,
  col_scale = viridisLite::magma(100)
)

Arguments

proj

object of class pm_project.

fill_opacity

opacity of fill; 0 = fully transparent, 1 = fully opaque.

legend_opacity

opacity of legend; 0 = fully transparent, 1 = fully opaque.

map_type

an index from 1 to 137 indicating the type of base map. The map types are taken from leaflet::providers, see here for an interactive gallary.

col_scale

the colour scale to use.


mrc-ide/PlasmoMAPI documentation built on Oct. 1, 2020, 9:41 a.m.