Learn R Programming

mappeR (version 2.0.2)

get_edgelist_from_overlaps: Obtain edge list from cluster intersections

Description

Obtain edge list from cluster intersections

Usage

get_edgelist_from_overlaps(overlaps, num_vertices)

Value

A 2D array representing the edge list of a graph.

Arguments

overlaps

A named list of edges, whose elements contain the names of clusters in the overlap represented by that edge; output of get_overlaps().

num_vertices

The number of vertices in the graph.