mem_legend | R Documentation |
MultiEnrichMap color legend
mem_legend(
mem,
x = "bottomleft",
y = NULL,
bg = "#FFFFFF99",
box.col = "transparent",
title = "Color Key",
cex = 0.8,
ncol = 1,
pch = 21,
pt.cex = 2,
pt.lwd = 2,
inset = 0,
do_directional = FALSE,
directional_column = c("same", "added-bottom", "added-top"),
directional_colors = c(`up-regulated` = "firebrick3", `no change` = "grey80",
`down-regulated` = "blue"),
...
)
mem |
|
x , y , bg , box.col , title , cex , ncol , pch , pt.cex , pt.lwd , inset |
arguments
are passed to |
do_directional |
|
directional_column |
|
directional_colors |
|
... |
additional arguments are passed to |
This function is a simple wrapper around legend()
to add
a color key to a plot, typically for igraph
plots.
Other jam plot functions:
adjust_polygon_border()
,
grid_with_title()
,
jam_igraph()
,
mem_enrichment_heatmap()
,
mem_gene_path_heatmap()
,
mem_multienrichplot()
,
mem_plot_folio()
,
plot_layout_scale()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.