generate_constaint_tree: Generates a tree with a single resolved bipartition between...

Description Usage Arguments Value Examples

View source: R/utility_functions.R

Description

Generates a tree with a single resolved bipartition between two sets of tip names. Useful for generating constraint trees.

Usage

1

Arguments

tips1

A vector of tip names for clade 1

tips2

A vector of tip names for clade 2

Value

A phylo object

Examples

1
2
3
4
library( ape )
tips1 = c("a", "b", "c")
tips2 = c("d", "e", "f")
ctree = generate_constaint_tree( tips1, tips2 )

caseywdunn/hutan documentation built on June 12, 2020, 3:12 a.m.