segtest2.0.0 package

Tests for Segregation Distortion in Polyploids

beta_bounds

Bounds on the distortion at simplex loci caused by double reduction.

chisq_g

Chi Square test when genotypes are known

chisq_gl

Chi-Sq for GL

drbounds

Upper bounds on double reduction rates.

em_li

EM algorithm from Li (2011)

gamfreq

Gamete frequencies under a generalized model

gcount_to_gvec

Converts genotype counts to genotype vectors.

gf_freq

Genotype frequencies of an F1 population under a generalized model.

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 ...

like_glpknown_3

Likelihood under three parameter model when using offspring genotypes ...

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.

multi_lrt

Parallelized likelihood ratio test for segregation distortion.

multidog_to_g

Converts multidog output to a format usable for seg_multi() and multi_...

n_pp_mix

Number of mixture components

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 mode...

offspring_gf_3

Calculates offspring genotype frequencies under the three-parameter mo...

otest_g

Jointly tests for segregation distortion and number of incompatible ge...

po_gl

Generate genotype likelihoods from offspring genotypes.

polymapr_test

Run segregation distortion tests as implemented in the polymapR packag...

pvec_tet_2

Tetraploid gamete frequencies of gametes when one parent's genotype is...

pvec_tet_3

Tetraploid gamete frequencies of gametes when one parent's genotype is...

seg_lrt

Test for segregation distortion in a polyploid F1 population.

seg_multi

Parallelized likelihood ratio test for segregation distortion for arbi...

segtest-package

segtest: Tests for Segregation Distortion in Polyploids

simf1g

Simulate genotype counts from F1 individuals

simf1gl

Simulate genotype likelihoods of F1 individuals.

simgl

Simulate genotype (log) likelihoods from genotype counts

three_to_two

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.

  • Maintainer: David Gerard
  • License: GPL (>= 3)
  • Last published: 2025-06-30