segtest1.0.1 package

Tests for Segregation Distortion in Polyploids

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

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 multi_lrt()

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

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 likelihoods from genotype counts

three_to_two

Convert from three parameters to two parameters

Provides a suite of tests for segregation distortion in F1 polyploid populations (for now, just tetraploids). This is under different assumptions of meiosis. Details of these methods are described in Gerard et al. (2024) <doi:10.1101/2024.02.07.579361>. 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: 2024-10-21