Description Usage Arguments Value
Plot a Manhattan Plots for MDT
and MLGWAS
objects. Can use any numeric
value in annotations(x)
as specified by value
argument.
Can also use feature importance as found in featimp(mlgwas)
if
value
is an MLGWAS
object.
1 2 3 4 5 6 7 8 9 10 | manhattanPlot(x, value, group = "CHROM", pos = "POS", f = function(value)
-log10(value), col = c("blue", "orange"))
## S4 method for signature 'MDT,ANY'
manhattanPlot(x, value, group = "CHROM", pos = "POS",
f = function(value) -log10(value), col = c("blue", "orange"))
## S4 method for signature 'MDT,MLGWAS'
manhattanPlot(x, value, group = "CHROM", pos = "POS",
f = function(value) -log10(value), col = c("blue", "orange"))
|
x |
|
value |
|
group |
|
pos |
|
f |
Some function that modifies a vector of integers.
For example, |
col |
Plot colors. |
A ggplot
Manhattan plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.