Description Usage Arguments Value Examples
View source: R/ggmanHighlight.R
Highlights a specific subset of points in the Manhattan plot
1 | ggmanHighlight(ggmanPlot, highlight, colour = "red", ...)
|
ggmanPlot |
A ggman plot of class 'ggman' |
highlight |
A character vector of SNP ids to highlight |
colour |
highlight colour |
... |
other arguments passed to |
A manhattan plot with highlighted markers
1 2 3 | p1 <- ggman(toy.gwas, snp = "snp", bp = "bp", chrom = "chrom",
pvalue = "pvalue")
ggmanHighlight(p1, highlight = toy.highlights)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.