Skip to contents

Samples a subtree up to patristic distance st_radius from a subtree centre

Usage

st_centre_dist(ED, st_radius, NI, st_child = NA, st_centre_loc = runif(1))

Arguments

ED

ED representation of structured phylogenetic tree

st_radius

Subtree radius

NI

Vector of node indices. Element i gives the row of label i

st_child

Child node of the subtree centre

st_centre_loc

Value between 0 and 1 giving position between st_child and ED[st_child,2]

Value

List of proposed DTA migration histories with the same leaves as input ED