parse_scones_settings {martini} | R Documentation |
scones.cv
settings.Creates a list composed by all scones.cv
settings, with
the values provided by the user, or the default ones if none is provided.
parse_scones_settings(score = "chi2", criterion = "consistency", etas = numeric(), lambdas = numeric(), c = numeric())
score |
Association score to measure association between genotype and phenotype. Possible values: chi2 (default), glm. |
criterion |
String with the function to measure the quality of a split. Possible values: consistency (default), bic, aic, aicc. |
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. |
c |
Numeric vector with the association scores of the SNPs. Specify it to automatically an appropriate range of etas and lambas. |
A list of evo
settings.
martini:::parse_scones_settings(etas = c(1,2,3), lambdas = c(4,5,6)) martini:::parse_scones_settings(c = c(1,10,100), score = "glm")