summarize_node_spacing | R Documentation |
Summarize spacing between igraph nodes given a layout
summarize_node_spacing(
g,
layout = NULL,
nodes = NULL,
node_groups = NULL,
each_group = FALSE,
scaled = FALSE,
dist_type = c("nearest_node", "all_nodes"),
verbose = FALSE,
...
)
g |
|
layout |
passed together with |
nodes |
|
node_groups |
|
each_group |
|
scaled |
|
dist_type |
|
verbose |
|
... |
additional arguments are passed to internal functions. |
This function is a simple wrapper to calculate typical distances
between nodes in a given network layout. It is experimental,
and intended to provide helpful information when determining
an appropriate value for percent_spacing
to use for example
with apply_nodeset_spacing()
. The optimal value depends upon
the number of nodes overall, also the number of nodes in
each nodeset, and the relative position of each nodeset
in layout coordinates.
The node_groups
argument is intended to provide summary data
for each node group (for example Cnet nodesets
) so that
individual node groups can be adjusted accordingly.
data.frame
with summary information about node distances
for connected nodes (only where edges connect any two nodes),
and unconnected nodes (only where two nodes are not connected
by an edge). When node_groups
is defined, the summary
also includes each individual node group.
Other jam utility functions:
avg_angles()
,
avg_colors_by_list()
,
call_fn_ellipsis_deprecated()
,
cell_fun_bivariate()
,
collapse_mem_clusters()
,
colorRamp2D()
,
deconcat_df2()
,
display_colorRamp2D()
,
enrichList2geneHitList()
,
filter_mem_genes()
,
filter_mem_sets()
,
find_colname()
,
get_hull_data()
,
get_igraph_layout()
,
gsubs_remove()
,
handle_igraph_param_list()
,
isColorBlank()
,
make_legend_bivariate()
,
make_point_hull()
,
mem_find_overlap()
,
order_colors()
,
rank_mem_clusters()
,
rotate_coordinates()
,
subgraph_jam()
,
subset_mem()
,
xyAngle()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.