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

tree_neighbors(tree)

Arguments

tree

A tree in igraph format

Value

A data frame with all trees