graph_hash: Get unique hash of an admixture graph

graph_hashR Documentation

Get unique hash of an admixture graph

Description

This can be used to check if two graphs are identical. For two graphs to be identical, the topology and leaf nodes have to match, but internal node names do not matter.

Usage

graph_hash(graph)

Arguments

graph

Admixture graph in igraph format

Value

A hash string of the admixture graph


uqrmaie1/admixtools documentation built on April 25, 2024, 11:30 a.m.