Description Usage Arguments Value See Also Examples
Creates an interactive Q-Q plot with multiple annotation options
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
x |
Can be an object of class
|
... |
other parameters passed to |
col |
A |
size |
A |
type |
An integer between 0 and 25 specifying the point shape. Default is 20 (filled circle). Deprecated. |
abline_col |
A |
abline_size |
A |
abline_type |
Sets the line type of the 45 degree line. Set to a dash type character among "solid", "dot", "dash", "longdash", "dashdot", or "longdashdot", or a dash length list in px (eg "5px","10px","2px"). Can also be a positive numeric value (e.g 5, 10, 2). Default is "dash". See plotly help page on layouts for complete list and more details |
highlight |
A character vector of SNPs in your dataset to highlight.
These SNPs should all be in your dataset. Default is |
highlight_color |
Color used to highlight points. Only used if
|
xlab |
X-axis label. Default is |
ylab |
Y-axis label. Default is |
title |
Title of the plot. Default is |
An interactive Q-Q plot.
1 2 3 4 5 6 7 8 9 | ## Not run:
library(manhattanly)
qqly(HapMap)
# highlight SNPs of interest
# 'signigicantSNP' is a character vector of SNPs included in this package
qqly(HapMap, snp = "SNP", highlight = significantSNP)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.