build_Gp: Build product adjacency matrix

View source: R/indicators.R

build_GpR Documentation

Build product adjacency matrix

Description

Build the sparse product adjacency matrix Jp from a graph adjacency matrix.

Usage

build_Gp(adj_mat)

Arguments

adj_mat

The original adjacency matrix.

Value

A product adjacency matrix Jp in sparse form.


motifcluster documentation built on Nov. 18, 2022, 9:06 a.m.