Runs GWAS across all traits and saves results as CSVs.
svenetics_pipeline(
svenetics_trained_object,
traitfile,
hitsizes = NULL,
save_dir = "~/SVENETICS_RESULTS"
)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.
A trained svenetics object from parameter_selection().
Data frame with sample IDs in column 1 and traits in remaining columns.
Character vector of hit sizes per trait, or NULL for "medium" across all.
Directory path where results will be saved (default "~/SVENETICS_RESULTS").