Tests for Segregation Distortion in Polyploids
Bounds on the distortion at simplex loci caused by double reduction.
Chi Square test when genotypes are known
Chi-Sq for GL
Upper bounds on double reduction rates.
EM algorithm from Li (2011)
Gamete frequencies under a generalized model
Converts genotype counts to genotype vectors.
Genotype frequencies of an F1 population under a generalized model.
Inverse function of gcount_to_gvec().
Tests if the two parameter model is valid
Iterator over array
Likelihood under three parameter model when genotypes are known
Likelihood under three parameter model when genotypes are known
Likelihood under three parameter model when using offspring genotypes ...
Likelihood under three parameter model when using offspring genotypes ...
Objective function for em_li()
Likelihood ratio test for segregation distortion with known genotypes
Likelihood ratio test using genotype likelihoods.
Parallelized likelihood ratio test for segregation distortion.
Converts multidog output to a format usable for seg_multi() and multi_...
Number of mixture components
Next element in an array
Simulates genotypes given genotype frequencies.
Calculates offspring genotype frequencies under the two-parameter mode...
Calculates offspring genotype frequencies under the three-parameter mo...
Jointly tests for segregation distortion and number of incompatible ge...
Generate genotype likelihoods from offspring genotypes.
Run segregation distortion tests as implemented in the polymapR packag...
Tetraploid gamete frequencies of gametes when one parent's genotype is...
Tetraploid gamete frequencies of gametes when one parent's genotype is...
Test for segregation distortion in a polyploid F1 population.
Parallelized likelihood ratio test for segregation distortion for arbi...
segtest: Tests for Segregation Distortion in Polyploids
Simulate genotype counts from F1 individuals
Simulate genotype likelihoods of F1 individuals.
Simulate genotype (log) likelihoods from genotype counts
Convert from three parameters to two parameters
Provides tests for segregation distortion in F1 polyploid populations under different assumptions of meiosis. These tests can account for double reduction, partial preferential pairing, and genotype uncertainty through the use of genotype likelihoods. Parallelization support is provided. Details of these methods are described in Gerard et al. (2025a) <doi:10.1007/s00122-025-04816-z> and Gerard et al. (2025b) <doi:10.1101/2025.06.23.661114>. Part of this material is based upon work supported by the National Science Foundation under Grant No. 2132247. The opinions, findings, and conclusions or recommendations expressed are those of the author and do not necessarily reflect the views of the National Science Foundation.