Description Usage Arguments Value
A function to create manhattan plots from GWA and QTL mapping analyses.
1 2 | manhattan_plot(pvalues, map, threshold = 0.01, col = c("black", "red"),
chrom = NULL, ...)
|
pvalues |
A vector of pvalues with SNP, marker or position names |
map |
a genetic map: a data.frame with SNP or marker names in rows, chromosome name (chr column) and position (pos column) |
threshold |
the threshold of significance |
col |
a vector of strings with color names for painting SNP according to their chromosome |
chrom |
a vector of chromosomal names to be included in the graphic by default all chromosomes are included |
... |
additional graphical parameters used by plot |
NULL. A graphic is be generated
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.