tune.sven: Tune SVEN Parameters

View source: R/calc_functions.R

tune.svenR Documentation

Tune SVEN Parameters

Description

Runs 100 parallel simulations and returns the optimal (lambda, w) pair.

Usage

tune.sven(x, R2 = 0.5, ehits = 20, betamax = 1, n.cores)

Arguments

x

Cleaned SNP matrix.

R2

Heritability (default 0.5).

ehits

Expected number of causal SNPs.

betamax

Maximum effect size magnitude (default 1).

n.cores

Number of cores for parallel computation.


bravo documentation built on May 27, 2026, 5:08 p.m.