computeAllEpistaticChiSquared: Compute chi-squared test statistics for independence

Description Usage Arguments Details Value

View source: R/computeAllEpistaticChiSquared.R

Description

Compute chi-squared test statistics for independence

Usage

1

Arguments

mpcrossMapped

An object of class mpcrossMapped with IBD probability data.

verbose

If this is TRUE a progress bar is generated

Details

This function computes what are (approximately) chi-squared test statistics for independence of the genotypes at different points on the genome. This computation is done using the IBD probability data. Significant non-independence between IBD probabilities at distant points on the same chromosome, or points on different chromosomes, can indicate non-standard genetic inheritance or selective pressure.

Value

A square matrix with rows and columns corresponding to genetic locations, and values corresponding to test statistics.


rohan-shah/mpMap2 documentation built on July 21, 2020, 8:58 p.m.