edges_from_adjacency_cpp {SeqNet}R Documentation

C++ implementation for obtaining an edge list from adjacency matrix

Description

C++ implementation for obtaining an edge list from adjacency matrix

Usage

edges_from_adjacency_cpp(adj)

Arguments

adj

An adjacency matrix.

Value

Returns a matrix with 2 columns containing the indicies in the lower-triangle of the matrix that are nonzero.


[Package SeqNet version 1.1.3 Index]