qq_plot: Generate a Quantile-Quantile Plot of a GWAS result

Description Usage Arguments Value

View source: R/qq.plot.function.R

Description

Generate a Quantile-Quantile Plot of a GWAS result

Usage

1
qq_plot(marker_map, pvals, QTN_index, trait = "unknown")

Arguments

marker_map

A data.frame containing marker 'rs', 'chr', and 'pos' (should be in the same order as the GWAS results)

pvals

The untransformed p-values from a GWAS test

QTN_index

The indices of any known QTNs

trait

The name of the trait

Value

A ggplot object quantile-quantile plot


wcrump/GWASP documentation built on April 4, 2020, 5:54 a.m.