Description Usage Arguments Value Examples
The Manhattan plots is compatible with wiggpleplotr read coverage and transcript strucutre plots. Can be appended to those using the cowplot::plot_grid() function.
1 2 | makeManhattanPlot(pvalues_df, region_coords, color_R2 = FALSE,
data_track = TRUE)
|
pvalues_df |
Data frame of association p-values (required columns: track_id, p_nominal, pos) |
region_coords |
Start and end coordinates of the region to plot. |
color_R2 |
Color the points according to R2 from the lead variant. Require R2 column in the pvalues_df data frame. |
data_track |
If TRUE, then remove all information from x-axis. Makes it easy to append to read coverage or transcript strcture plots using cowplot::plot_grid(). |
gglot2 object
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.