View source: R/interpretation.R
qtlAnnotationEnrichment | R Documentation |
This functions performs enrichment analysis using the Fisher's test for the methQTLs detected with respect to different genomic annotations.
qtlAnnotationEnrichment(
meth.qtl.res,
type = "SNP",
annotation = "cpgislands",
assembly = "hg19"
)
meth.qtl.res |
An object of type |
type |
The type of methQTL to be visualized. Can be either |
annotation |
The genomic annotation to be used. Can be the ones available in |
assembly |
The assembly used. Only |
We use all data points that have been used to calculate methQTLs as the background
and compare the overlaps with the annotation of interest in comparison to the methQTLs that
have been computed in case a MethQTLResult-class
is provided. If a list of MethQTLResult-class
objects
is provided, the intersection between the methQTLs from all objects in the list is compared with the union of all interactions
that have been tested.
A list of two p-values named 'enrichment'
for overrepresentation and 'depletion'
for underrepresentation
Michael Scherer
meth.qtl.res <- loadMethQTLResult(system.file("extdata","MethQTLResult_chr18",package="MAGAR"))
res <- qtlAnnotationEnrichment(meth.qtl.res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.