build_Id {motifcluster}R Documentation

Build identity matrix

Description

Build the sparse identity matrix Id from a graph adjacency matrix.

Usage

build_Id(adj_mat)

Arguments

adj_mat

The original adjacency matrix.

Value

An identity matrix Id in sparse form.


[Package motifcluster version 0.2.3 Index]