cnet2im: Convert Cnet igraph to incidence matrix

cnet2imR Documentation

Convert Cnet igraph to incidence matrix

Description

Convert Cnet igraph to incidence matrix

Usage

cnet2im(g = NULL, df = NULL, ...)

Arguments

g

igraph object containing Cnet data, specifically vertex attribute name "nodeType" with values "Set" and "Gene", and where "Set" nodes are only connected to "Gene" nodes.

df

data.frame as optional input instead of g, usually the result of a previous call to cnet2df().

...

additional arguments are ignored.

Details

This function takes igraph object containing "Cnet" data, including vertex attribute "nodeType" with values "Set" and "Gene", and where "Set" nodes are only connected to "Gene" nodes. It returns an incidence matrix whose columns are "Set" node names and whose rows are "Gene" node names.

Value

numeric matrix with colnames defined by "Set" node names, and rownames defined by "Gene" node names.

See Also

Other jam igraph functions: cnet2df(), 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(), 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()

Other jam conversion functions: cnet2df(), enrichDF2enrichResult(), enrichList2IM(), enrichList2df(), enrichMapJam()


jmw86069/jamenrich documentation built on Feb. 3, 2024, 12:40 p.m.