Skip to contents

Convert a bipartite adjacency matrix to an edgelist

Usage

adj2el(adj)

Arguments

adj

An adjacency matrix, with rows as TFs and columns as genes.

Value

An edge list dataframe with three columns. First column is TF name, second column is gene name, and third column is edge weight.