Skip to contents

Read PLINK logistic regression results

Usage

read_plink_logistic(file, test = "ADD", ...)

Arguments

file

Path to a PLINK .assoc.logistic file.

test

Which test to keep (default "ADD" for additive model).

...

Additional arguments passed to data.table::fread().

Value

A gwas_data object.

Examples

f <- system.file("extdata", "example_plink.assoc.logistic", package = "ggwas")
gwas <- read_plink_logistic(f)
#> Read 4 variants from example_plink.assoc.logistic
gwas
#> A gwas_data object: 4 variants across 3 chromosomes
#>   Min p-value: 5.20e-08
#>   Lambda GC:   3.171
#>   Columns:     CHR, BP, SNP, P, A1, N, TEST, OR, STAT