genetest package

Submodules

genetest.configuration module

class genetest.configuration.AnalysisConfiguration(filename)[source]

Bases: object

Creates an instance of the class.

Parameters:filename (str) – The name of the configuration file.
configure_genotypes()[source]

Configures the genotypes component.

configure_model()[source]

Configures the statistics component.

configure_phenotypes()[source]

Configures the phenotypes component.

get_genotypes()[source]

Returns the genotypes container.

get_genotypes_args()[source]

Returns the genotypes arguments.

get_genotypes_format()[source]

Returns the genotypes format.

get_model_args()[source]

Returns the statistics arguments.

get_model_formula()[source]

Returns the model formula.

get_model_test()[source]

Returns the statistics model.

get_phenotypes()[source]

Returns the phenotypes container.

get_phenotypes_args()[source]

Returns the phenotypes arguments.

get_phenotypes_format()[source]

Returns the phenotypes format.

static retrieve_arguments(config)[source]

Retrieves arguments from the configuration.

Parameters:config (configparser.SectionProxy) – The section’s configuration.
Returns:The arguments extracted from this section’s configuration.
Return type:dict
static retrieve_options(config)[source]

Retrieves options from the configuration.

Parameters:config (configparser.SectionProxy) – The section’s configuration.
Returns:The optional arguments.
Return type:dict

Note

Only the restricted ‘options’ key is parsed, and has the following format: keyword=type:value (e.g. sep=str:,). If there are multiple keyword/values, they are separated by a single coma.

genetest.version module

Module contents

genetest.test(verbosity=1)[source]

Execute all the tests.