createBipartiteGraph function

Bipartite Network

Bipartite Network

This function creates a simple bipartite graph, it shows the driver and linker features as nodes.

createBipartiteGraph(TableNetwork, colorVertexTable, incidenceMatrix = FALSE)

Arguments

  • TableNetwork: TableForNetwork_file (file generated by CoNI) with path
  • colorVertexTable: Table specifying the colors for the vertex features. The first column should contain the names matching the features of the vertex Data and another column should specify the colors (column name: Colors).
  • incidenceMatrix: logical. If TRUE it returns a hypergraph incidence matrix instead of a bipartite graph

Returns

An igraph object for a bipartite graph or a hypergraph incidence matrix to represent ResultsCoNI. Basic network statistics are included in the bipartite graph. See generate_network function for details or consult the igraph package

Examples

#See vignette for an example
  • Maintainer: José Manuel Monroy Kuhn
  • License: GPL-3
  • Last published: 2021-09-30

Useful links