Full text 2026

treestructure: an R package to detect population structure in phylogenetic trees

Nascimento FF, Franceschi VB, Volz EM.

Full text

Loading PDF… Expand reader Download

Abstract

<h4>Motivation</h4>How population structure can shape genetic diversity is a longstanding problem in population genetics. While the use of geographic locations, when available, can help answer some of these questions, it is still difficult to determine population structure when such metadata are not available or when the potential population structure is not easily observed. Here, we present an updated version of treestructure, an R package that implements a statistical test based on coalescent theory to detect unobserved population structure in a time-scaled phylogenetic tree.<h4>Availability</h4>treestructure is available at CRAN at https://cloud.r-project.org/web/packages/treestructure/ and at https://emvolz-phylodynamics.github.io/treestructure/.