manh: Creates a manhattan plot

Description Usage Arguments Value

Description

Creates a manhattan plot

Usage

1
2
3
manh(x, SNP = "SNP", CHR = "CHR", BP = "BP", P = "P", build = "b37",
  highlight = F, highlight.snps = NA, highlight.col = "SNP",
  title = Sys.time())

Arguments

x

A data frame with result data

SNP

SNP column in data frame

CHR

Chromosome column in data frame

BP

SNP position column in data frame

P

P-value column in data frame

build

What build to use for plotting (default to 'b37')

highlight

Whether to highlight SNPs (default to FALSE)

highlight.col

Vector containing SNPs to label

title

Title of plot

Value

A manhattan plot (ggplot2 object)


oyhel/qqman2 documentation built on May 21, 2019, 2:26 a.m.