outlierLineages function

Detect lineages with unusually large evolutionary divergence under the fitted treedater model

Detect lineages with unusually large evolutionary divergence under the fitted treedater model

Outliers are detected using the stats::p.adjust function and the 'fdr' function. The test requires that dater was used with the temporalConstraints=TRUE.

outlierLineages(td, alpha = 0.05, type = c("tips", "internal", "all"))

Arguments

  • td: A fitted treedater object
  • alpha: The tail probability used for classifying lineages as outliers
  • type: Should outliers be detected on tip lineages, interal lineages, or all lineages?

Returns

A data frame summarizing for each lineage the p values, adjusted p values ('q'), likelihood, rates, and branch lengths.

See Also

dater outlier.tips

  • Maintainer: Erik Volz
  • License: GPL-2
  • Last published: 2020-01-26

Useful links