load_multiSnpnetResultsFromRDataFiles: Load the results of multiSnpnet

View source: R/functions.R

load_multiSnpnetResultsFromRDataFilesR Documentation

Load the results of multiSnpnet

Description

Load the results of multiSnpnet

Usage

load_multiSnpnetResultsFromRDataFiles(
  results_dir,
  last_lambda_idx = NULL,
  fill_sequence = FALSE
)

Arguments

results_dir

The results directory

last_lambda_idx

The last lambda index. If not specified, we call find_prev_iter() and load the last lambda index available on the file system.

Value

An list object containing the training (and validation) set metrics, lambda_idx, fit, and configs. We will extract the results from the "best" lambda index for fit and configs. The configs itself is a list containing important paramters such as weight (trait weight).


junyangq/multiSnpnet documentation built on Oct. 19, 2023, 8:22 p.m.