get_evo_settings: Get evo settings.

Description Usage Arguments Value Examples

View source: R/legacy.R

Description

Creates a list composed by all evo settings, with the values provided by the user, or the default ones if none is provided.

Usage

1
2
3
4
5
6
7
get_evo_settings(
  associationScore = "chi2",
  modelScore = "bic",
  etas = numeric(),
  lambdas = numeric(),
  debug = FALSE
)

Arguments

associationScore

Association score to measure association between genotype and phenotype. Possible values: chi2 (default), glm.

modelScore

Model selection criterion Possible values: consistency, bic (default), aic, aicc, mbic.

etas

Numeric vector with the etas to explore in the grid search. If ommited, it's automatically created based on the association scores.

lambdas

Numeric vector with the lambdas to explore in the grid search. If ommited, it's automatically created based on the association scores.

debug

Display additional information. Possible values: TRUE, FALSE (default).

Value

A list of evo settings.

Examples

1
2
martini:::get_evo_settings()
martini:::get_evo_settings(associationScore = "skat")

martini documentation built on Nov. 8, 2020, 5:39 p.m.