R/create_test_phylogeny.R

Defines functions create_test_phylogeny

Documented in create_test_phylogeny

#' Create a testing phylogeny with 3 taxa and a crown age of 3
#'
#' @return a \code{phylo} from the \code{ape} package
#' @author Richèl J.C. Bilderbeek
#' @export
create_test_phylogeny <- function() {
  ape::read.tree(text = "((A:1, B:1):2, C:3);")
}

Try the pirouette package in your browser

Any scripts or data that you put into this service are public.

pirouette documentation built on Oct. 7, 2023, 9:06 a.m.