Learn R Programming

bravo (version 4.1.0)

svenetics_pipeline: Full Multi-Trait GWAS Pipeline

Description

Runs GWAS across all traits and saves results as CSVs.

Usage

svenetics_pipeline(
  svenetics_trained_object,
  traitfile,
  hitsizes = NULL,
  save_dir = "~/SVENETICS_RESULTS"
)

Value

Saves the selected SNPs and their MIPs for each trait as separate CSV files in the specified directory. Also returns a list of data frames with the results for each trait.

Arguments

svenetics_trained_object

A trained svenetics object from parameter_selection().

traitfile

Data frame with sample IDs in column 1 and traits in remaining columns.

hitsizes

Character vector of hit sizes per trait, or NULL for "medium" across all.

save_dir

Directory path where results will be saved (default "~/SVENETICS_RESULTS").