collect_nltt_stats: Calculate the nLTT statistic between a focal phylogeny and...

Description Usage Arguments Value Author(s) Examples

Description

Calculate the nLTT statistic between a focal phylogeny and multiple others

Usage

1
collect_nltt_stats(phylogeny, others)

Arguments

phylogeny

the focal phylogeny

others

the other phylogenies

Value

A data frame

Author(s)

Richel Bilderbeek

Examples

1
2
3
4
5
6
  nltt_stats <- collect_nltt_stats(
    phylogeny = ape::rcoal(10),
    others = c(ape::rcoal(10), ape::rcoal(10))
  )
  testit::assert(names(nltt_stats) == c("id", "nltt_stat"))
  testit::assert(is.factor(nltt_stats$id))

richelbilderbeek/wiritttea documentation built on May 27, 2019, 8:02 a.m.