chisq_g4 |
Chi Square test when genotypes are known |
chisq_gl4 |
Chi-Sq for GL |
em_li |
EM algorithm from Li (2011) |
gcount_to_gvec |
Converts genotype counts to genotype vectors. |
gvec_to_gcount |
Inverse function of 'gcount_to_gvec()'. |
is_valid_2 |
Tests if the two parameter model is valid |
iter.array |
Iterator over array |
like_gknown_2 |
Likelihood under three parameter model when genotypes are known |
like_gknown_3 |
Likelihood under three parameter model when genotypes are known |
like_glpknown_2 |
Likelihood under three parameter model when using offspring genotypes likelihoods but parent genotypes are known. |
like_glpknown_3 |
Likelihood under three parameter model when using offspring genotypes likelihoods but parent genotypes are known. |
llike_li |
Objective function for 'em_li()' |
lrt_men_g4 |
Likelihood ratio test for segregation distortion with known genotypes |
lrt_men_gl4 |
Likelihood ratio test using genotype likelihoods. |
multidog_to_g |
Converts multidog output to a format usable for multi_lrt() |
multi_lrt |
Parallelized likelihood ratio test for segregation distortion. |
nextElem.arrayiter |
Next element in an array |
offspring_geno |
Simulates genotypes given genotype frequencies. |
offspring_gf_2 |
Calculates offspring genotype frequencies under the two-parameter model. |
offspring_gf_3 |
Calculates offspring genotype frequencies under the three-parameter model. |
otest_g |
Jointly tests for segregation distortion and number of incompatible genotypes |
polymapr_test |
Run segregation distortion tests as implemented in the polymapR package. |
po_gl |
Generate genotype likelihoods from offspring genotypes. |
pvec_tet_2 |
Tetraploid gamete frequencies of gametes when one parent's genotype is known |
pvec_tet_3 |
Tetraploid gamete frequencies of gametes when one parent's genotype is known |
simf1g |
Simulate genotype counts from F1 individuals |
simf1gl |
Simulate genotype likelihoods of F1 individuals. |
simgl |
Simulate genotype likelihoods from genotype counts |
three_to_two |
Convert from three parameters to two parameters |
ufit |
Genotype data from Cappai et al. (2020) |
ufit2 |
Genotype data from Cappai et al. (2020) |
ufit3 |
Genotype data from Cappai et al. (2020) |