getOverlappingQTL {MAGAR} | R Documentation

## getOverlappingQTL

### Description

This function merges the QTLs given and returns the methQTL table in a merged format.

### Usage

    getOverlappingQTL(meth.qtl.list, type = "SNP")

### Arguments

`meth.qtl.list` | A list of `MethQTLResult-class` objects to be merged
`type` | The type of annotation to be overlapped. Needs to be `'SNP'`, `'CpG'` or `'cor.block'`

### Value

A `data.frame` with the methQTL interactions and an additional column specifying where the interaction displayed has been found. This value is generated from the `names()` argument of `meth.qtl.list`.

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

[Package MAGAR version 1.0.1 Index]