ggmanHighlight: Highlight points in Manhattan plot

Description Usage Arguments Value Examples

View source: R/ggmanHighlight.R

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)

veera-dr/ggman documentation built on May 3, 2019, 4:59 p.m.