Plot hex map of PlasmoMAPI output.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | plot_map(
proj,
col_scale = viridisLite::magma(100),
plot_sampling_points = TRUE,
plot_hex_grid = TRUE,
min_hex_coverage = 10,
plot_significance = TRUE,
empirical_tail = "both",
FDR = 0.05,
zlim = NULL,
base_plot = NULL,
poly_list = list(),
poly_col = "white",
labeled_points = NULL,
point_size = 1,
point_colour = "white",
point_fill = "black",
point_stroke = 0.2
)
|
proj |
object of class |
col_scale |
the colour scale to use. |
plot_sampling_points |
whether to overlay sampling locations. |
plot_hex_grid |
whether to plot the hex map. If the project contains output then hexes will be coloured based on z-scores, otherwise a flat colour scheme will be used. |
min_hex_coverage |
minimum coverage (number of edges assigned to a hex)
for it to be included in the final result, otherwise these hexes are given
the value |
plot_significance |
whether to outline areas that were identified as significant outliers. |
empirical_tail |
if plotting significance, whether to calculate
empirical p-values using a one-sided test ( |
FDR |
the false discovery rate, i.e. the probability that a hex identified as significant is actually a false positive. |
zlim |
the limits of the colour scale. If |
base_plot |
optional base plot (object of class |
poly_list, poly_col |
optional list of polygon coordinates that are added to plot, and associated plotting parameters. |
labeled_points |
optional data frame of labeled points to add to graph. |
point_size, point_colour, point_fill, point_stroke |
properties of plotted sampling points. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.