Bonferroni_alpha function

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

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

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.

Bonferroni_alpha(x, global.alpha = 0.05)

Arguments

  • x: an object of class onemap_segreg_test
  • global.alpha: the global alpha that

Returns

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
  • Maintainer: Cristiane Taniguti
  • License: GPL-3
  • Last published: 2025-01-10