manhattan: manhattan create a Manhanttan plot

manhattanR Documentation

manhattan create a Manhanttan plot

Description

manhattan create a Manhanttan plot

Usage

manhattan(data, chr, position, y, title = "Manhattan plot",
  xlab = "Chromosomes", ylab = "P-Value", sep = 0.02)

Arguments

data

[data.frame]: A 'data.frame' which include some columns: chromosome, position and pvalues.

chr

[character]: Name of the 'chr' (chromosome) column in 'data'.

position

[character]: Name of the 'position' column in 'data'.

y

[character]: Name of the 'p-value' column in 'data' (or anything you want to plot with a manhattan plot).

title

[character]: The text for the title.

xlab

[character]: The text for the x axis.

ylab

[character]: The text for the y axis.

sep

[numeric]: Width of the space between bars.

Value

A Manhattan plot in ggplot2 format.


mcanouil/ggFunctions documentation built on July 23, 2022, 8:28 p.m.