View source: R/manhattan.plot.R
manhattan.plot | R Documentation |
Create Manhattan plot
manhattan.plot(data, traits = NULL, models = NULL, chrom = NULL)
data |
Variable of class |
traits |
Vector of trait names (by default, all traits plotted) |
models |
Vector of model names (by default, all models plotted) |
chrom |
optional, to plot only one chromosome |
Results for the ref and alt versions of the dominance model are combined. If data
is the output from set.threshold
, then the threshold is displayed as a horizontal dashed line when models
contains a single model. Because the threshold varies between models, it is not drawn when multiple models are included. Although the ref and alt versions of each dominance model are slightly different (as seen with qq.plot
), they are treated as a single model for the Manhattan plot, and the average threshold is shown.
ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.