qtlDistanceScatterplot | R Documentation |
Computes a scatterplot between CpG-SNP distance with both effect size and p-value
qtlDistanceScatterplot(meth.qtl.result, out.dir = NULL, out.name = NULL)
meth.qtl.result |
An object of type |
out.dir |
If specified, the plot is stored as a pdf in this directory |
out.name |
Optional name for the resulting plot |
An object of type ggplot
comparing the distance between CpG and SNP. Negative values indicate that the
SNP is downstream of the CpG.
Michael Scherer
meth.qtl.res <- loadMethQTLResult(system.file("extdata","MethQTLResult_chr18",package="MAGAR"))
qtlDistanceScatterplot(meth.qtl.res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.