Learn R Programming

mpMap2 (version 1.0.4)

computeAllEpistaticChiSquared: Compute chi-squared test statistics for independence

Description

Compute chi-squared test statistics for independence

Usage

computeAllEpistaticChiSquared(mpcrossMapped, verbose = TRUE)

Arguments

mpcrossMapped

An object of class mpcrossMapped with IBD probability data.

verbose

If this is TRUE a progress bar is generated

Value

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

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.