Save synthetic genotype data to BED/BIM/FAM files
save_synthetic_genotype.RdSaves a genotype dataset (as produced by simulate_genotype()) in PLINK format,
using the genio and readr packages.
Examples
if (FALSE) { # \dontrun{
sim <- simulate_synthetic_genotype(n_snps = 100, n_individuals = 20, n_causal_snps = 5)
save_synthetic_genotype(sim, file_prefix = "my_simulated_data")
} # }