ggmanHighlight: Highlight points in Manhattan plot

Description Usage Arguments Value Examples

Description

Highlights a specific subset of points in the Manhattan plot

Usage

1
ggmanHighlight(ggmanPlot, highlight, colour = "red", ...)

Arguments

ggmanPlot

A ggman plot of class 'ggman'

highlight

A character vector of SNP ids to highlight

colour

highlight colour

...

other arguments passed to geom_point

Value

A manhattan plot with highlighted markers

Examples

1
2
3
p1 <- ggman(toy.gwas, snp = "snp", bp = "bp", chrom = "chrom",
pvalue = "pvalue")
ggmanHighlight(p1, highlight = toy.highlights)

drveera/ggman documentation built on May 15, 2019, 2:55 p.m.