Learn R Programming

motifcluster (version 0.2.3)

build_Gd: Build double-edge adjacency matrix

Description

Build the sparse double-edge adjacency matrix Gd from a graph adjacency matrix.

Usage

build_Gd(adj_mat)

Value

A double-edge adjacency matrix Gd in sparse form.

Arguments

adj_mat

The original adjacency matrix.