Download PLINK 1.9 from http://www.cog-genomics.org/plink2.

Download PLINK 2.0 from http://www.cog-genomics.org/plink/2.0/.

download_plink(dir = tempdir(), overwrite = FALSE, verbose = TRUE)

download_plink2(
  dir = tempdir(),
  AVX2 = TRUE,
  overwrite = FALSE,
  verbose = TRUE
)

Arguments

dir

The directory where to put the PLINK executable. Default is a temporary directory.

overwrite

Whether to overwrite file? Default is FALSE.

verbose

Whether to output details of downloading. Default is TRUE.

AVX2

Whether to download the AVX2 version? This is only available for 64 bits architectures. Default is TRUE.

Value

The path of the downloaded PLINK executable.