R/jamenrich-communities-nodegroups.R
communities2nodegroups.Rd
Convert communities object to nodegroups list format
communities2nodegroups(wc, ...)
communities
object as returned by igraph
functions
such as cluster_optimal()
, cluster_walktrap()
, or
cluster_leading_eigen()
.
additional arguments are ignored.
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.
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.
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()