genetest.tests package¶
Submodules¶
genetest.tests.test_configuration module¶
-
class
genetest.tests.test_configuration.
TestAnalysisConfiguration
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
-
classmethod
setUpClass
()[source]¶ Hook method for setting up class fixture before running tests in the class.
-
classmethod
genetest.tests.test_coxph module¶
-
class
genetest.tests.test_coxph.
TestStatsCoxPH
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Tests the ‘StatsCoxPH’ class.
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
-
classmethod
setUpClass
()[source]¶ Hook method for setting up class fixture before running tests in the class.
-
classmethod
genetest.tests.test_descriptive_stats module¶
-
class
genetest.tests.test_descriptive_stats.
TestDescriptiveStats
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Tests the descriptive statistics module.
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
genetest.tests.test_linear module¶
-
class
genetest.tests.test_linear.
TestStatsLinear
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Tests the ‘StatsLinear’ class.
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
-
classmethod
setUpClass
()[source]¶ Hook method for setting up class fixture before running tests in the class.
-
classmethod
tearDownClass
()[source]¶ Hook method for deconstructing the class fixture after running all tests in the class.
-
classmethod
genetest.tests.test_logistic module¶
-
class
genetest.tests.test_logistic.
TestStatsLogistic
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Tests the ‘StatsLogistic’ class.
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
-
classmethod
setUpClass
()[source]¶ Hook method for setting up class fixture before running tests in the class.
-
classmethod
tearDownClass
()[source]¶ Hook method for deconstructing the class fixture after running all tests in the class.
-
classmethod
genetest.tests.test_mixedlm module¶
-
class
genetest.tests.test_mixedlm.
TestStatsMixedLM
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Tests the ‘StatsMixedLM’ class.
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
-
classmethod
setUpClass
()[source]¶ Hook method for setting up class fixture before running tests in the class.
-
classmethod
tearDownClass
()[source]¶ Hook method for deconstructing the class fixture after running all tests in the class.
-
test_mixedlm_snp1_inter_ml
()[source]¶ Tests mixedlm regression with the first SNP (using ML, inter).
-
test_mixedlm_snp1_inter_reml
()[source]¶ Tests mixedlm regression with the first SNP (using REML, inter).
-
test_mixedlm_snp2_inter_ml
()[source]¶ Tests mixedlm regression with the second SNP (using ML, inter).
-
test_mixedlm_snp2_inter_reml
()[source]¶ Tests mixedlm regression with the second SNP (using REML, inter).
-
test_mixedlm_snp3_inter_ml
()[source]¶ Tests mixedlm regression with the third SNP (using ML, inter).
-
test_mixedlm_snp3_inter_reml
()[source]¶ Tests mixedlm regression with the third SNP (using REML, inter).
-
test_mixedlm_snp4_inter_ml
()[source]¶ Tests mixedlm regression with the fourth SNP (using ML, inter).
-
classmethod
genetest.tests.test_phenotypes module¶
-
class
genetest.tests.test_phenotypes.
TestCore
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
-
class
genetest.tests.test_phenotypes.
TestText
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
genetest.tests.test_stats_core module¶
-
class
genetest.tests.test_stats_core.
TestStatsLinear
(methodName='runTest')[source]¶ Bases:
unittest.case.TestCase
Tests the ‘StatsLinear’ class.
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.