Description Usage Arguments Details Value Examples
View source: R/test.segregation.R
Using OneMap internal function test.segregation.of.a.marker(), performs the Chi-square test to check if all markers in a dataset are following the expected segregation pattern, i. e., 1:1:1:1 (A), 1:2:1 (B), 3:1 (C) and 1:1 (D) according to OneMap's notation.
1 |
x |
an object of class |
First, it identifies the correct segregation pattern and corresponding H0 hypothesis, and then tests it.
an object of class onemap.segreg.test, which is a list with marker name, H0 hypothesis being tested, the chi-square statistics, the associated p-values and the % of individuals genotyped. To see the object, it is necessary to print it.
1 2 3 | data(example.out) # Loads a fake outcross dataset installed with onemap
Chi <- test.segregation(example.out) # Performs the chi-square test for all markers
print(Chi) # Shows the results
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.