normalize_community: Normalized Community Matrix

Description Usage Arguments Details Value Examples

View source: R/functions.R

Description

This function receives a list of concordnce NxN matrices (a patient community) and returns the corresponding normalized patient community concordance matrix.

Usage

1

Arguments

mats

list of NxN matrices.

Details

It does so by summing the concordance matrices of the given community, and normalizing offdiagonal entries by dividing each entry. by the sqrt of the product of the associated diagonal entries, (giving it a value in [0,1]).

Value

the corresponding normalized patient community concordance matrix.

Examples

1
normalized_community(mats)

oricel/concordNets documentation built on April 9, 2020, 3:45 a.m.