download_1000G: Download 1000G

View source: R/bed-projectPCA.R

download_1000GR Documentation

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)

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.

Value

The path of the downloaded bed file.


bigsnpr documentation built on Sept. 30, 2024, 9:18 a.m.