read_plink_assoc_adjusted_file: Read a PLINK '.assoc.adjusted' file

View source: R/read_plink_assoc_adjusted_file.R

read_plink_assoc_adjusted_fileR Documentation

Description

Read a PLINK .assoc.adjusted file

Usage

read_plink_assoc_adjusted_file(assoc_adjusted_filename)

Arguments

assoc_adjusted_filename

name of a PLINK .assoc.adjusted file. Use read_plink_assoc_adjusted_file to read a PLINK .assoc.adjusted file.

Value

a tibble.

The tibble has these columns:

  • CHR: Chromosome

  • SNP: SNP ID

  • BP: Physical position (base-pair)

  • A1: Minor allele name (based on whole sample)

  • F_A: Frequency of this allele in cases

  • F_U: Frequency of this allele in controls

  • A2: Major allele name

  • CHISQ: Basic allelic test chi-square (1 degree of fredoom)

  • P: Asymptotic p-value for this test

  • OR: Estimated odds ratio (for A1, i.e. A2 is reference)

  • SE: Standard error

  • L95: Lower bound of the 95% confidence interval of the odds ratio

  • U95: Upper bound of the 95% confidence interval of the odds ratio

Author(s)

Richèl J.C. Bilderbeek

Examples

read_plink_assoc_file(
  assoc_filename = get_plinkr_filename("run1.assoc")
)

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