download_plink: Download PLINK

View source: R/external-software.R

download_plinkR Documentation

Description

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

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

Usage

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

download_plink2(
  dir = tempdir(),
  AVX2 = TRUE,
  ARM = FALSE,
  AMD = FALSE,
  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.

ARM

Whether to download an ARM version. Default is FALSE.

AMD

Whether to download an AMD version. Default is FALSE.

Value

The path of the downloaded PLINK executable.


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