is_isolated finds all topologies where a species is isolated

get_isolated_topos(topo_plots, left_neighbour, pops)

Arguments

topo_plots

tibble containing the topologies (in column 'phylo')

left_neighbour

string (species identifier for left neighbor)

pops

all populations within the topology

Details

First the distance matrixes of all topologies are created and attached to the topologies. Then, the isolation status of a species is determined based on the distance matrixes and the topologies are filtered for the isolation cases.

The index number of those topologies is exported.

See also