View source: R/read_plink_assoc_file.R
read_plink_assoc_file | R Documentation |
.assoc
fileRead a PLINK .assoc
file
read_plink_assoc_file(assoc_filename)
assoc_filename |
name of a |
a tibble.
The tibble has these columns:
a tibble with the following columns:
CHR
: Chromosome number
SNP
: SNP identifier
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 (1df)
P
: Asymptotic p-value for this test
OR
: Estimated odds ratio (for A1, i.e. A2 is reference)
SE
: Standard error of the estimated log(odds ratio)
L95
: Lower bound of the 95% confidence interval of the odds ratio
U95
: Upper bound of the 95% confidence interval of the odds ratio
The table with have as much rows as the number of SNPs
Note that parameters in uppercase are named as such by PLINK.
Richèl J.C. Bilderbeek
read_plink_assoc_file(
assoc_filename = get_plinkr_filename("run1.assoc")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.