function to convert a vcfR object to genome_admixr_data
vcfR_to_genomeadmixr_data(
vcfr_object,
chosen_chromosome,
number_of_snps = NA,
random_snps = TRUE,
verbose = FALSE
)
result of vcfR::read.vcfR
chromosome of choice
number of snps to be loaded from the vcf file, default is to load all snps
if a subset of all snps has to be taken, should these be sampled sequentially (e.g. the first 100 snps) or randomly (100 randomly sampled snps) (examples are for 'number_of_snps' = 100).
if true, print progress bar
genomeadmixr_data object ready for simulate_admixture_data