Skip to contents

This function produces a Manhattan plot from P-values found in an association analysis.

Usage

Manhattan_plot(x, a)

Arguments

x

List object containing vector with numbering on SNPs and vector with P-values. Example could be GWAS data from analysis.

a

significance level used to determine whether SNPs are causal or not.

Value

A Manhattan plot with each regressor (SNP) on the x-axis and their -log10(P-values) on the y-axis.