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 markers with 3 columns: taxa, chromosome, and position (rows 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/GWAS.GLM documentation built on March 30, 2020, 3:17 a.m.