Conomos MP, Thornton T, Gogarten SM and Brown L (2018). GENESIS: GENetic EStimation and Inference in Structured samples (GENESIS): Statistical methods for analyzing genetic data from samples with population structure and/or relatedness. R package version 2.8.1.