manhattan_plot: Make a manhattan plot from GWAS results.

Description Usage Arguments Author(s)

View source: R/manhattan_plot.R

Description

Make a manhattan plot from GWAS results.

Usage

1
2
3
manhattan_plot(res, colors = c("black", "grey80"), cutoff = NULL,
  ylab = expression(paste(-log[10], "p-value")), linecol = "red",
  linetype = 2, linewidth = 2, ...)

Arguments

res

A dataframe with at least three named columns: a numeric column of chromosomes (Chromosome), a numeric column of base-pair positions (Position), and a numeric column of marker p-values (p.value).

colors

A character vector of length two where elements are R color names.

cutoff

A significance cutoff (default = NULL).

ylab

A label for the y-axis (default = expression(paste(-log[10], "p-value"))).

linecol

String specifying an R color for the cutoff line.

linetype

Integer specifying the line type for the cutoff line.

linewidth

Integer specifying the line width for the cutoff line.

...

Other graphics arguments.

Author(s)

Aaron Kusmec


amkusmec/FarmCPUpp documentation built on Dec. 25, 2021, 10:05 p.m.