score_fold | R Documentation |
Take the k-solutions for a combination of hyperparameters, and assign a score to it (the larger, the better).
score_fold(gwas, covars, net, selected, criterion, max_prop_snp)
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_prop_snp |
Maximum proportion of SNPs accepted in the model (between 0 and 1). Larger solutions will be discarded. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.