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

View source: R/tree_processing.R

tree_add_outgroupR Documentation

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

Description

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

Usage

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.


datelife documentation built on July 10, 2023, 2:02 a.m.