recode_outgroup: Recodes outgroup edge. Recodes the branch going to an...

View source: R/recode_outgroup.R

recode_outgroupR Documentation

Recodes outgroup edge. Recodes the branch going to an outgroup to the value provided.

Description

Recodes outgroup edge. Recodes the branch going to an outgroup to the value provided.

Usage

recode_outgroup(tree, outgroup, value = NULL)

Arguments

tree

The tree of interest.

outgroup

The name of the outgroup in the tree of interest.

value

The value to make the outgroup edge. If null, defaults to the second largest length on the tree of interest.

Value

The tree of interest with the outgroup edge changed to the value provided.


svteichman/TreeVizPackage documentation built on June 22, 2022, 11:21 p.m.