qtlDistanceScatterplot: qtlDistanceScatterplot

qtlDistanceScatterplotR Documentation

qtlDistanceScatterplot

Description

Computes a scatterplot between CpG-SNP distance with both effect size and p-value

Usage

qtlDistanceScatterplot(meth.qtl.result, out.dir = NULL, out.name = NULL)

Arguments

meth.qtl.result

An object of type MethQTLResult-class containing called methQTL

out.dir

If specified, the plot is stored as a pdf in this directory

out.name

Optional name for the resulting plot

Value

An object of type ggplot comparing the distance between CpG and SNP. Negative values indicate that the SNP is downstream of the CpG.

Author(s)

Michael Scherer

Examples

meth.qtl.res <- loadMethQTLResult(system.file("extdata","MethQTLResult_chr18",package="MAGAR"))
qtlDistanceScatterplot(meth.qtl.res)

MPIIComputationalEpigenetics/MAGAR documentation built on Nov. 16, 2024, 11:25 p.m.