createBipartiteGraph {CoNI}R Documentation

Bipartite Network

Description

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

Usage

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

Value

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

[Package CoNI version 0.1.0 Index]