load_plink_gwas: Load a PLINK association results file.

Description Usage Arguments Value Examples

View source: R/file_loading_functions.R

Description

This function will read a (possibly gzipped) PLINK results file (.assoc.txt) and return a tibble containing just the scaffold, position, and statistic.

Usage

1

Arguments

file

PLINK association file

Value

A three-column tibble containing scaffold, bin midpoint, and statistic value.

Examples

1
2
3
4
a <- system.file("extdata", "test.plink_gwas.qassoc.gz",
                 package = "gwplotting")
b <- load_plink_gwas( a )
b

nwvankuren/gwplotting documentation built on April 17, 2021, 2:37 p.m.