test_congruence: Returns distance congruence between the two graphs

View source: R/test_congruence.R

test_congruenceR Documentation

Returns distance congruence between the two graphs

Description

This function makes the shortest path matrices for both graphs and determines the correlation between pairwise distance.

Usage

test_congruence(graph1, graph2, method = c("distance", "combinatorial")[1])

Arguments

graph1

An object of type igraph or popgraph

graph2

An object of type igraph or popgraph

method

An option on how congruence is to be estimated possible values are 'distance' (a measure of similarity in separation of nodes independent of connectivity, the default) 'structural' a measure of similarity in actual edges, and 'combinatorial' a combinatorial measure of similarity.

Value

A non-parametric rank sum test

Author(s)

Rodney J. Dyer <rjdyer@vcu.edu>


dyerlab/popgraph documentation built on July 22, 2022, 5:42 p.m.