build_Gs {motifcluster}R Documentation

Build single-edge adjacency matrix

Description

Build the sparse single-edge adjacency matrix Gs from a graph adjacency matrix.

Usage

build_Gs(adj_mat)

Arguments

adj_mat

The original adjacency matrix.

Value

A single-edge adjacency matrix Gs in sparse form.


[Package motifcluster version 0.2.3 Index]