build_G {motifcluster}R Documentation

Build sparse adjacency matrix

Description

Build the sparse adjacency matrix G from a graph adjacency matrix.

Usage

build_G(adj_mat)

Arguments

adj_mat

The original adjacency matrix.

Value

The adjacency matrix G in sparse form.


[Package motifcluster version 0.2.3 Index]