hadamard: Create a matrix of hadamard indices from a directed adjacancy...

Description Usage Arguments Value

View source: R/hadamard.R

Description

This function converts a directed adjacency matrix to a matrix of Hadamard distances based on the overlap of neighbors. The implementation is efficiently based on matrix multiplications.

Usage

1

Arguments

A

an N-by-N adjacency matrix holding TRUE or 1 values for edges

Value

an N-by-N matrix with the Hadamard coefficient of neighbor overlap


yishaishimoni/phenoClust documentation built on Dec. 15, 2017, 3:05 a.m.