root_tree_og: Root tree on outgroup

Description Usage Arguments Value

Description

Root tree based on outgroup. If outgroup is null and the tree isn't rooted, midpoint root tree. If tree is rooted, return tree as is.

Usage

1
root_tree_og(tree, outgroup = NULL)

Arguments

tree

phylogenetic tree or file path of tree

outgroup

tip name of outgroup in phylogeny. If NULL, midpoint root if not rooted

Value

rooted tree without outgroup


Snitkin-Lab-Umich/snitkitr documentation built on April 21, 2021, 10:48 a.m.