getSpecificQTL: getSpecificQTL

View source: R/utilities.R

getSpecificQTLR Documentation

getSpecificQTL

Description

This function returns the methQTL interactions specific for a result

Usage

getSpecificQTL(meth.qtl.res, meth.qtl.background, type = "SNP")

Arguments

meth.qtl.res

An object of type MethQTLResult-class for which specific QTLs are to be obtained.

meth.qtl.background

The background set as a list of MethQTLResult-class objects.

type

The type of annotation to be overlapped. Needs to be 'SNP', 'CpG' or 'cor.block'

Value

A data.frame of methQTL interactions sorted by the effect size.

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

MPIIComputationalEpigenetics/MAGAR documentation built on Nov. 10, 2023, 4:16 p.m.