Learn R Programming

bigsnpr (version 1.9.11)

download_1000G: Download 1000G

Description

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.

Usage

download_1000G(dir, overwrite = FALSE, delete_zip = TRUE)

Value

The path of the downloaded bed file.

Arguments

dir

The directory where to put the downloaded files.

overwrite

Whether to overwrite files when downloading and unzipping? Default is FALSE.

delete_zip

Whether to delete zip after decompressing the file in it? Default is TRUE.