communities2nodegroups: Convert communities object to nodegroups list format

communities2nodegroupsR Documentation

Convert communities object to nodegroups list format

Description

Convert communities object to nodegroups list format

Usage

communities2nodegroups(wc, ...)

Arguments

wc

communities object as returned by igraph functions such as cluster_optimal(), cluster_walktrap(), or cluster_leading_eigen().

...

additional arguments are ignored.

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.

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.

See Also

Other jam igraph functions: cnet2df(), cnet2im(), cnetplotJam(), cnetplot_internalJam(), color_edges_by_nodegroups(), color_edges_by_nodes_deprecated(), color_edges_by_nodes(), color_nodes_by_nodegroups(), drawEllipse(), edge_bundle_bipartite(), edge_bundle_nodegroups(), enrichMapJam(), fixSetLabels(), flip_edges(), get_bipartite_nodeset(), igraph2pieGraph(), jam_igraph(), jam_plot_igraph(), label_communities(), layout_with_qfrf(), layout_with_qfr(), 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()


jmw86069/jamenrich documentation built on Nov. 6, 2024, 7:07 p.m.