tree_neighbors: Find all trees within SPR distance of 1

tree_neighborsR Documentation

Find all trees within SPR distance of 1

Description

Returns all trees which can be reached through one iteration of subtree-prune-and-regraft

Usage

tree_neighbors(tree)

Arguments

tree

A tree in igraph format

Value

A data frame with all trees


uqrmaie1/admixtools documentation built on Nov. 3, 2024, 12:56 a.m.