Running F4-Statistics with Admixtools in R
In this post I’ll cover how to run f4-statistics using the admixtools package for R. While I don’t typically use R for other tasks, I prefer this implementation over the original one because working in a REPL environment is more practical than editing parameter files, especially when you’re testing different population combinations. The interactive workflow makes programmatic model testing straightforward. Beyond these workflow improvements, the R version is also significantly faster, not due to any inherent language advantage, but simply better implementation. You can work with the full AADR dataset without creating subsets. ...