Detects maximal cliques and saves images of network graphs into tempfile. Tempfile paths and info on cliques are returned.
network_graph_images(
x,
min_clique_size = 3,
show_edges = TRUE,
min_matches = 6,
label_wrap_width = 15,
label_max_length = -1,
indicate_direction = show_edges,
colorize_direction = TRUE,
colorize_cliques = TRUE,
colorize_poles = TRUE,
align_poles = TRUE,
alpha = 0.1,
valence_prefix = FALSE,
border_default = "#987824",
fill_default = "#00000008",
image_border_color = grey(0.6),
seed = 0
)
A dataframe with a grid.
Minimal size of cliques to be considered.
Whether to show edges in plot.
Minimal number of matching scores between constructs to be marked as related.
Width of wrapped element label text.
Trim element label at max length characters.
Indicate direction of
relatedness by edge label +/-
and edge color (red, green). Only
applied if show_edges = TRUE
.
Draw cliques in different colors? (default TRUE
).
Colorize positive/negative/neutral poles as red, green,
and gray respectively (default TRUE
).
Align preferred poles on the same side.
Alpha color value for cliques fillings (default .1
).
Add (+/-) pole prefix to indicate preference. Empty means no preference.
Default border and fill color of polygon
encircling clique constructs. Used when colorize_cliques
is FALSE
. Use
NA
for no color.
Color of border around generated graph images. If
NULL
or NA
no border is drawn.
Seed number passed to set.seed
. Will determine the
orientation of the graph.