Skip to contents

Creates multiple random SNP sets of fixed size from a BIM file and writes them to the directory structure required by NEBULA.

Usage

generate_synthetic_snpsets(input_file, snps_per_set, num_sets, root_dir)

Arguments

input_file

Path to a .bim file containing SNP information (6 columns, no header).

snps_per_set

Integer. Number of SNPs per set.

num_sets

Integer. Number of random SNP sets to generate.

root_dir

Character. Base directory for output files.

Value

Invisible NULL. Files are written to disk.

Examples

if (FALSE) { # \dontrun{
# Assume you have a BIM file generated by save_simulated_genotype_data()
generate_synthetic_snpsets(
  input_file = "nebula_simulated_data.bim",
  snps_per_set = 1000,
  num_sets = 10,
  output_base_dir = "example_data"
)
} # }