node_signature: Returns a signature of a graph consisting of the left and...

node_signatureR Documentation

Returns a signature of a graph consisting of the left and right descendent leaf nodes of each internal node (sorted and concatenated)

Description

Can be used to determine how often internal nodes occur in a list of other well fitting models

Usage

node_signature(graph)

Arguments

graph

An admixture graph

Value

A graph signature as character vector

Examples

## Not run: 
sigs = example_winners %>% mutate(sig = map(igraph, node_signature)) %$%
         sig %>% unlist %>% table %>% c
node_signature(example_winners$igraph[[1]])

## End(Not run)

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