overlapQTLs: overlapQTLs

View source: R/utilities.R

overlapQTLsR 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")

MPIIComputationalEpigenetics/MAGAR documentation built on Dec. 6, 2024, 2:30 p.m.