Download 1000 genomes project (phase 3) data in PLINK bed/bim/fam format, including 2490 (mostly unrelated) individuals and ~1.7M SNPs in common with either HapMap3 or the UK Biobank.
download_1000G(dir, overwrite = FALSE, delete_zip = TRUE)The directory where to put the downloaded files.
Whether to overwrite files when downloading and unzipping?
Default is FALSE.
Whether to delete zip after decompressing the file in it?
Default is TRUE.
The path of the downloaded bed file.