overlapQTLs {MAGAR} | R Documentation

## overlapQTLs

### Description

This function overlaps a list of methQTLs to determine which interactions are common.

### Usage

    overlapQTLs(meth.qtl.result.list, type)

### 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.
`type` | Determines if either the SNP (default), the CpG, or the correlation block `'cor.block'` is to be visualized

### Value

A list with `length(meth.qtl.result.list)` elements, containing IDs of methQTL interactions according to the option `type`.

### 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
    res <- overlapQTLs(list(A=meth.qtl.res.1,B=meth.qtl.res.2),type="SNP")

[Package MAGAR version 1.0.1 Index]