View source: R/manhattan_plot.R
manhattan_plot | R Documentation |
Create Manhattan plot
manhattan_plot(data, chrom = NULL, thresh = NULL, rotate.label = FALSE)
data |
data frame with columns for marker, chrom, position, and score |
chrom |
optional, to plot only one chromosome |
thresh |
optional, to include horizontal line at discovery threshold |
rotate.label |
TRUE/FALSE whether to rotate x-axis labels to be perpendicular |
Assumes position in bp
ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.