Learn R Programming

onemap (version 3.0.0)

Bonferroni_alpha: Calculates individual significance level to be used to achieve a global alpha (with Bonferroni)

Description

It shows the alpha value to be used in each chi-square segregation test, in order to achieve a given global type I error. To do so, it uses Bonferroni's criteria.

Usage

Bonferroni_alpha(x, global.alpha = 0.05)

Value

the alpha value for each test (numeric)

Arguments

x

an object of class onemap_segreg_test

global.alpha

the global alpha that

Examples

Run this code
# \donttest{
 data(onemap_example_bc) # Loads a fake backcross dataset installed with onemap
 Chi <- test_segregation(onemap_example_bc) # Performs the chi-square test for all markers
 print(Chi) # Shows the results of the Chi-square tests
 Bonferroni_alpha (Chi) # Shows the individual alpha level to be used
# }

Run the code above in your browser using DataLab