Convert a parent vector format to the list of children

getChildListFromParentVector(parents, n)

Arguments

parents

A integer vector. Parent vector format tree.

n

A single integer. The number of mutations.

Value

the list of children of tree.