The R package tfa
implements a factor analysis algorithm for temporal DNA or ancient DNA samples, ajusting individual scores for the effect of allele frequency drift through time. The adjusted scores provide geometric representations of temporal samples consistent with estimates of ancestry proportions and have interpretation similar to principal component analysis. Based on the adjusted factors, the program can also estimate ancestry proportions for a target population or a subset of target individuals given specified source populations.
The main functions of the package are
Check the following link to access the package website and a short tutorial
Install the latest version from github (requires devtools):
# install.packages("devtools") devtools::install_github("bcm-uga/tfa")
Olivier François, Séverine Liégeois, Benjamin Demaille, Flora Jay. (2019). Inference of population genetic structure from temporal samples of DNA. bioRxiv 801324. doi:10.1101/801324.
Olivier François, Flora Jay. (2020). Factor analysis of ancient population genomic samples. Under review.