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)

drveera/ggman documentation built on Oct. 18, 2018, 10:06 a.m.