Convert communities object to nodegroups list format
Source:R/jamenrich-communities-nodegroups.R
communities2nodegroups.RdConvert communities object to nodegroups list format
Value
list of character vectors, where each vector contains
names of igraph nodes. When algorithm is defined in the
input object, it is included as an attribute of the output list,
accessible with attr(out, "algorithm").
When optional value "cluster_names" is present in the communities
object, they are used to define the output list names.
Details
Note that this function is "lossy", in that the output list
does not contain all the information necessary to reconstitute
the input communities object in detail. However, the output
list can be converted to a communities object that will
be accepted by most igraph related functions that require
that object type as an input value.
See also
Other jam igraph functions:
cnet2df(),
cnet2im(),
cnetplotJam(),
cnetplot_internalJam(),
color_edges_by_nodegroups(),
color_edges_by_nodes(),
color_edges_by_nodes_deprecated(),
color_nodes_by_nodegroups(),
drawEllipse(),
edge_bundle_bipartite(),
edge_bundle_nodegroups(),
enrichMapJam(),
fixSetLabels(),
flip_edges(),
get_bipartite_nodeset(),
highlight_edges_by_node(),
igraph2pieGraph(),
jam_igraph(),
jam_plot_igraph(),
label_communities(),
layout_with_qfr(),
layout_with_qfrf(),
mem2emap(),
memIM2cnet(),
mem_multienrichplot(),
nodegroups2communities(),
rectifyPiegraph(),
relayout_with_qfr(),
removeIgraphBlanks(),
removeIgraphSinglets(),
reorderIgraphNodes(),
rotate_igraph_layout(),
spread_igraph_labels(),
subgraph_jam(),
subsetCnetIgraph(),
subset_igraph_components(),
sync_igraph_communities(),
with_qfr()