plotMiami | R Documentation |
Miami plot - WORK IN PROGRESS...
plotMiami(
dat = NULL,
hits = NULL,
hitsName = hits,
hitsLabel = TRUE,
hitsColour = NULL,
pMinFilter = 0.05,
pMaxCap = 1/10^50,
yRange = c(-50, 50),
yRangeBy = 5,
colP1 = c("green", "limegreen"),
colP2 = c("lightblue", "blue"),
title = c("My Main Title", "My Top Title", "My Bottom Title")
)
dat |
SNP association results, data.frame object with c("SNP","BP","P") columns. Required. |
hits |
SNP names to label in the plot. Must be present in assoc data.frame. |
hitsName |
alternative SNP names to label in the plot. Default same as 'hits' |
hitsLabel |
Default is TRUE, set to FALSE not to show SNP names on the plot. |
hitsColour |
Default NULL, uses ggplot colours. |
yRange |
|
yRangeBy |
y-axis ticks, setting to 5 means ticks will be placed at 'c(0, 5, 10, ...)'. |
title |
character string for plot title. Default is NULL, i.e.: no plot title. |
yMin, yMax |
y-axis range limits. |
a ggplot
object
Tokhir Dadaev, Edward J. Saunders
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.