extract_weighted_metrics: Extract weighted metrics

View source: R/functions.R

extract_weighted_metricsR Documentation

Extract weighted metrics

Description

Extract weighted metrics

Usage

extract_weighted_metrics(multiSnpnetResults, metric_name = NULL, weight = NULL)

Arguments

multiSnpnetResults

a list containing the results of the multiSnpnet fit

metric_name

The types of metrics (optional)

weight

The trait weights (optional)

Value

A matrix of metrics (one of the followings: AUC_val, metric_val, AUC_train, and metric_train)


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