manhattan_plot: Generate a Manhattan Plot of a GWAS result

Description Usage Arguments Value

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

Description

Generate a Manhattan Plot of a GWAS result

Usage

1
manhattan_plot(marker_map, pvals, QTN_index = c(), 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 Manhattan plot


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