qtlVennPlot: qtlVennPlot

qtlVennPlotR Documentation

qtlVennPlot

Description

This function creates a venn plot from a list of methQTL results, showing the overlap between the interactions

Usage

qtlVennPlot(
  meth.qtl.result.list,
  out.folder,
  type = "SNP",
  out.name = NULL,
  ...
)

Arguments

meth.qtl.result.list

A named list with each entry being an object of type MethQTLResult-class. The names are used in the visualization.

out.folder

Required argument specifying the location to store the resulting plot

type

Determines if either the SNP (default), the CpG, or the correlation block 'cor.block' is to be visualized

out.name

Optional argument for the name of the plot on disk (ending needs to be .png)

...

Further argument passed to venn.diagram

Details

The plot can be stored on disk using out.folder and out.name

Value

None

Author(s)

Michael Scherer

Examples

meth.qtl.res.1 <- loadMethQTLResult(system.file("extdata","MethQTLResult_chr18",package="MAGAR"))
meth.qtl.res.2 <- meth.qtl.res.1
qtlVennPlot(list(A=meth.qtl.res.1,B=meth.qtl.res.2),out.folder=getwd())

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