Learn R Programming

MariNET (version 1.0.0)

differentiation: Subtract Two Adjacency Matrices

Description

This function returns difference matrix between two networks. It is useful for comparing two networks represented by adjacency matrices.

Usage

differentiation(matrix1, matrix2)

Value

a normalized matrix containing values between 0 and 1.

Arguments

matrix1

The first adjacency matrix.

matrix2

The second adjacency matrix.