canonise_graph: Canonise graph.

Description Usage Arguments Value

Description

Given a graph builds a unique logical vector depending only on the leaf names and the graph topology (not the inner node names, root position or the input order of edges or inner nodes). Can be used to detect graph isomorphism, that is, to weed out duplicates from a graph list. Only for comparison of graphs with the same leaf set!

Usage

1

Arguments

graph

An admixture graph.

Value

A logical vector coding the parental matrix of a canonised version of the input graph.


admixturegraph documentation built on May 2, 2019, 6:02 a.m.