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 April 25, 2024, 11:30 a.m.