get_plink_subfolder_name: Get the path to the default 'PLINK' subfolder as used by...

View source: R/get_plink_subfolder_name.R

get_plink_subfolder_nameR Documentation

Description

Get the path to the default PLINK subfolder as used by plinkr.

Usage

get_plink_subfolder_name(
  plink_version = get_default_plink_version(),
  os = get_os()
)

Arguments

plink_version

version of PLINK, e.g. "1.7" Use get_plink_version to get the PLINK version. Use get_plink_versions to get all the supported PLINK versions.

os

name of the operating system, as returned by app_dir

Details

plinkr installs all versions of PLINK in a default PLINK folder, as can be obtained by get_plink_folder.

In that PLINK folder, there are different subfolders for the different version of PLINK. The subfolders are named plink_[version]_[os], where [version] denotes the PLINK version (where the periods are replaced by underscores) and [os] denotes the operating system, as obtained by get_os. Examples are plink_1_7_unix, plink_1_9_mac and plink_2_0_win.

Value

path to the default PLINK executable as used by plinkr

Author(s)

Richèl J.C. Bilderbeek


richelbilderbeek/plinkr documentation built on March 25, 2024, 3:18 p.m.