Description Usage Arguments Value
View source: R/manhattan.plot.function.R
Generate a Manhattan Plot of a GWAS result
1 | manhattan_plot(marker_map, pvals, QTN_index = c(), trait = "unknown")
|
marker_map |
A data.frame containing marker 'rs', 'chr', and 'pos' (should be in the same order as the GWAS results) |
pvals |
The untransformed p-values from a GWAS test |
QTN_index |
The indices of any known QTNs |
trait |
The name of the trait |
A ggplot object Manhattan plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.