find_root: function to find the root(s) in a phylogenetic tree

View source: R/cloneMap.R

find_rootR Documentation

function to find the root(s) in a phylogenetic tree

Description

Roots will have no daughters and aditionally when root has no daughters it is specified root -> root in the convention of this package

Usage

find_root(tree)

Arguments

tree

a phylogenetic tree matrix with two column specifying 'parent' (column 1) and child (column 2)


amf71/cloneMap documentation built on Jan. 11, 2024, 5:28 a.m.