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

View source: R/assoc_qt_on_plink2_bin_data.R

assoc_qt_on_plink2_bin_dataR Documentation

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

Description

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

Usage

assoc_qt_on_plink2_bin_data(
  assoc_qt_data,
  assoc_qt_params,
  plink_options = create_plink_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 tibble with the detected associations. The table with have as much rows as the number of SNPs multiplied by the number of traits.

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 files that already exist.


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