R/jamenrich-communities-nodegroups.R
label_communities.Rd
Assign labels to igraph communities
label_communities(
wc,
labels = NULL,
add_catchwords = NULL,
num_keep_terms = 3,
keep_terms_sep = ",\n",
...
)
communities
object, or list
in form of nodegroups,
which is a list
of character
vectors that contain igraph
node names.
character
vector of optional labels to assign directly
to community clusters. When not defined, the auto-detection method
is used.
character
of optional words to include as
catchwords, to be excluded from use in the final label.
integer
maximum number of terms to be included
in the final output label, when auto-detection is used.
character
string used as a delimited to separate
each term when multiple terms are concatenated together to form
the cluster label.
additional arguments are ignored.
communities
or list
format matching the input wc
format.
When communities
is input, additional value cluster_names
will contain a character
vector of names corresponding to each
integer index in wc$membership
.
When nodegroups
is input, the list
names will be a character
vector of cluster labels.
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()
,
communities2nodegroups()
,
drawEllipse()
,
edge_bundle_bipartite()
,
edge_bundle_nodegroups()
,
enrichMapJam()
,
fixSetLabels()
,
flip_edges()
,
get_bipartite_nodeset()
,
igraph2pieGraph()
,
jam_igraph()
,
jam_plot_igraph()
,
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()