color_edges_by_nodes_deprecated: Color igraph edges using node colors (deprecated)

color_edges_by_nodes_deprecatedR Documentation

Color igraph edges using node colors (deprecated)

Description

Color igraph edges using node colors (deprecated)

Usage

color_edges_by_nodes_deprecated(g, alpha = NULL, ...)

Arguments

g

igraph object

alpha

NULL or numeric vector with value between 0 and 1, where 0 is transparent and 1 is non-transparent. When supplied, this value is passed to jamba::alpha2col() to apply alpha transparency to each edge color.

...

additional arguments are ignored.

Details

Note: This function is deprecated in favor of color_edges_by_nodes().

This function uses the average color for the two nodes involved in each edge, and applies that as the new edge color.

The color for each node depends upon the node shape, where shape "pie" uses the average color from "pie.color", and shape "coloredrectangle" uses the avereage color from "coloredrect.color". Everything else uses "color".

This function relies upon avg_colors_by_list() to blend multiple colors together.

See Also

Other jam igraph functions: cnet2df(), cnet2im(), cnetplotJam(), cnetplot_internalJam(), color_edges_by_nodegroups(), 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(), 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.