assoc_qt_on_plink2_bin_files: Let 'PLINK2' detect an association with one or more...

View source: R/assoc_qt_on_plink2_bin_files.R

assoc_qt_on_plink2_bin_filesR Documentation

Let PLINK2 detect an association with one or more quantitative traits with files in PLINK2 binary format.

Description

Let PLINK2 detect an association with one or more quantitative traits with files in PLINK2 binary format.

Usage

assoc_qt_on_plink2_bin_files(
  assoc_qt_data,
  assoc_qt_params,
  plink_options = create_plink_v2_0_options(),
  verbose = FALSE
)

Arguments

assoc_qt_data

data use to used by assoc_qt (as created by create_assoc_qt_data), which equals 'regular' data (see check_data) and a phenotype table/file

assoc_qt_params

parameters to do an association analysis for a quantitative trait (i.e. using assoc_qt), as can be created by create_assoc_qt_params

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

a list with the following elements:

  • qassoc_filenames: names of the created association files

  • log_filename: name of the PLINK2 log file

Note

This function is named after the --assoc flag used by PLINK.

Author(s)

Richèl J.C. Bilderbeek

See Also

use assoc_qt_on_plink2_bin_data to work on data directly


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