v2l {RGBM}R Documentation

Convert adjacency matrix to a list of edges

Description

This function converts adjacency matrix A to a sorted list of edges, e.g. a list in which edges are sorted by decreasing confidence.

Usage

v2l(A, max = 1e+05, check.names = TRUE)

Arguments

A

Input adjacency matrix.

max

Maximal length of the resulting list. This number may be lower than the number of all the edges from adjacency matrix. Then only top max edges will be returned.

check.names

Checks name of the gene ids

Value

A data frame of sorted edges: (1) list of sources (2) list of destinations (3) list of confidences. Elements in all the lists correspond to each other.

Author(s)

Raghvendra Mall <rmall@hbku.edu.qa>


[Package RGBM version 1.0-11 Index]