Manhattan_plot: Make a Manhattan plot from analysis data

View source: R/Manhattan_plot.R

Manhattan_plotR Documentation

Make a Manhattan plot from analysis data

Description

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.


Best-Nicklas/Dataprojekt documentation built on June 7, 2022, 12:08 a.m.