Bonferroni_alpha {onemap}R Documentation

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)

Arguments

x

an object of class onemap_segreg_test

global.alpha

the global alpha that

Value

the alpha value for each test (numeric)

Examples


 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



[Package onemap version 3.0.0 Index]