score_fold {martini} | R Documentation

## Score the solutions of a k-fold

### Description

Take the k-solutions for a combination of hyperparameters, and assign a score to it (the larger, the better).

### Usage

    score_fold(gwas, covars, net, selected, criterion, max_solution = 0.5)

### Arguments

`gwas` | A SnpMatrix object with the GWAS information.
`covars` | A data frame with the covariates. It must contain a column 'sample' containing the sample IDs, and an additional columns for each covariate.
`net` | An igraph network that connects the SNPs.
`criterion` | String with the function to measure the quality of a split.
`max_solution` | Maximum fraction of the SNPs involved in the solution (between 0 and 1). Larger solutions will be discarded.

[Package martini version 1.14.0 Index]