tree_add_outgroup: Function to add an outgroup to any phylogeny, in phylo or...

Description Usage Arguments Value

View source: R/tree_processing.R

Description

Function to add an outgroup to any phylogeny, in phylo or newick format

Usage

1
tree_add_outgroup(tree = NULL, outgroup = "outgroup")

Arguments

tree

A tree either as a newick character string or as a phylo object

outgroup

A character vector with the name of the outgroup. If it has length>1, only first element will be used.

Value

A phylo object with no root edge.


phylotastic/datelife documentation built on Jan. 14, 2019, 9:56 p.m.