RcppTskit: 'R' Access to the 'tskit C' API

Read full text
Authors: Gregor Gorjanc
Cited by: 0
References: 2

Abstract

'Tskit' enables efficient storage, manipulation, and analysis of ancestral recombination graphs (ARGs) using succinct tree sequence encoding. The tree sequence encoding of an ARG is described in Wong et al. (2024) , while ‘tskit' project is described in Jeffrey et al. (2026) . See also for project news, documentation, and tutorials. ’Tskit' provides 'Python', 'C', and 'Rust' application programming interfaces (APIs). The 'Python' API can be called from 'R' via the 'reticulate' package to load and analyse tree sequences as described at . 'RcppTskit' provides 'R' access to the 'tskit C' API for cases where the 'reticulate' option is not optimal; for example, high-performance or low-level work with tree sequences. Currently, 'RcppTskit' provides a limited set of 'R' functions because the 'Python' API and 'reticulate' already covers most needs.

Fields of Study & Subjects

Genomics and Phylogenetic Studies Data Analysis with R Genetic diversity and population structure

Publication details

Publication date
27 February 2026
Language
EN
Document type
Dataset