Boost f-statitics power using genealogies. Compatible with admixtools2.
Full documentation at leospeidel.github.io/twigstats.
Each function is described on this page: leospeidel.github.io/twigstats/reference.
Please install this package by running the following command in R:
library(remotes)
install_github("leospeidel/twigstats")or
install.packages('twigstats', repos = c('https://leospeidel.r-universe.dev', 'https://cloud.r-project.org'))Alternatively, clone this directory (https://github.com/leospeidel/twigstats) and then in R type
library(devtools)
install()Please make sure to have an up-to-date R version (>=3.6.0) and C/C++ compiler (e.g., >=GCC v8) loaded in your environment. If you encounter issues, it can help to create a clean R library. Assuming you place this in your home directory, this is done using
mkdir ~/R_libs_for_twigstats/
export R_LIBS_USER="~/R_libs_for_twigstats/"
Now, all required R packages will be installed into this fresh R library.
Please see leospeidel.github.io/twigstats/articles/basic-usage.html.
For a small real data example see leospeidel.github.io/twigstats/articles/real-data-example.html.