check_plink_options: Check if the options to run PLINK are valid.

View source: R/check_plink_options.R

check_plink_optionsR Documentation

Description

Check if the options to run PLINK are valid. Will stop if not.

Usage

check_plink_options(plink_options)

Arguments

plink_options

options to run PLINK, as created by create_plink_options

Details

Note that this function does not check if PLINK is actually present in that folder, similar to normalizePath with mustWork set to FALSE

Value

the PLINK options, as can be checked by check_plink_options

Author(s)

Richèl J.C. Bilderbeek

Examples

check_plink_options(create_plink_options())
check_plink_options(create_plink_v1_7_options())
check_plink_options(create_plink_v1_9_options())
check_plink_options(create_custom_plink_options("custom_plink_path"))

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