can_plink_version_and_data_can_work_together: Determine if the 'data' and the version of 'PLINK'/'PLINK2'...

View source: R/can_plink_version_and_data_can_work_together.R

can_plink_version_and_data_can_work_togetherR Documentation

Description

Determine if the data and the version of PLINK/PLINK2 can work together

Usage

can_plink_version_and_data_can_work_together(
  data,
  plink_options,
  verbose = FALSE
)

Arguments

data

the data source, which can be:

  • PLINK text data, as created by create_plink_text_data.

  • PLINK binary data, as created by create_plink_bin_data.

  • PLINK2 binary data, as created by create_plink2_bin_data.

  • PLINK text filenames, as created by create_plink_text_filenames.

  • PLINK binary filenames, as created by create_plink_bin_filenames.

  • PLINK2 binary filenames, as created by create_plink2_bin_filenames.

  • data to be used by assoc, as created by create_assoc_data

  • data to be used by assoc_qt, as created by create_assoc_qt_data

plink_options

options to run PLINK, as created by create_plink_options

verbose

the verbosity of a function. Set to TRUE for more output. Use check_verbose to detect if this argument is valid.

Value

TRUE if the data and the version of PLINK/PLINK2 can work together

Author(s)

Richèl J.C. Bilderbeek


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