| qqly | R Documentation |
Creates an interactive Q-Q plot with multiple annotation options
qqly( x, ..., col = "#252525", size = 5, type = 20, abline_col = "red", abline_size = 1, abline_type = "solid", highlight = NULL, highlight_color = "#00FF00", xlab = "Expected -log10(p)", ylab = "Observed -log10(p)", title = "Q-Q Plot" )
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.
qqr, HapMap,
significantSNP
## 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)