get_grid: Parse 'scones.cv' settings

View source: R/scones.R

get_gridR Documentation

Parse scones.cv settings

Description

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

Usage

get_grid(c = numeric(), etas = numeric(), lambdas = numeric())

Arguments

c

Numeric vector with the association scores of the SNPs. Specify it to automatically an appropriate range of etas and lambas.

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.

Value

A list of scones.cv settings.

Examples

martini:::get_grid(etas = c(1,2,3), lambdas = c(4,5,6))
martini:::get_grid(c = c(1,10,100))

hclimente/martini documentation built on Feb. 26, 2024, 6:23 p.m.