tidygenclust
provides functions and methods to run genetic clustering in R, using the commonly used ADMIXTURE program as we as the python package fastmixture
. It also help to align and compare multiple runs of the same or different K using the functionalities of the python package clumppling
. tidygenclust
builds on tidypopgen
, enhancing the grammar of population genetics with a focus on genetic clustering.
Currently installation is limited to Linux and OSX, but NOT Windows (you can use the WSL). You can install the development version of tidygenclust
from GitHub with:
# install.packages("pak")
pak::pak("EvolEcolGroup/tidygenclust")
Note for MacOS user
We use reticulate
to seamlessly integrate the required python packages and dependencies into R without additional installation steps for the user. However, for this to work correctly for MacOS users, you need llvm
installed in the first place. In bash, you will need: