View source: R/LMC_interpretation.R
lmc.annotation.enrichment | R Documentation |
This function performs enrichment analysis for various genomic locations including chromosomes, and different function categories defined by the Ensembl regulatory build
lmc.annotation.enrichment(
medecom.result,
annotation.filter = NULL,
anno.data,
K = NULL,
lambda = NULL,
cg_subset = NULL,
diff.threshold = 0.5,
reference.computation = "median",
comp.lmcs = NULL,
type = "hypo",
assembly = "hg19"
)
medecom.result |
An object of type |
annotation.filter |
A numeric vector specifying the sites that have been removed from |
anno.data |
The original |
K |
The number of LMCs specified for the MeDeCom run. |
lambda |
The lambda parameter selected. |
cg_subset |
The index of the selection strategy employed (e.g. most variable CpGs). |
diff.threshold |
The difference cutoff between median methylation in the remaining LMCs and the LMC of interest used to call a CpG differentially methylated. The higher this value, the more conservative the selection. |
reference.computation |
Metric used to set the reference on the remaining LMCs to determine hyper- and hypomethylated sites.
Can be either |
comp.lmcs |
Numeric vector containing two numbers representing the LMCs that should be compared to one another. |
type |
Which direction is to be tested for enrichment. Can be one of "hypo", "hyper", or "differential" |
assembly |
The assembly used. Needs to be one of "hg19", "hg38" or "mm10". Does not need to be specified, if rnb.set is a
|
A data frame with four columns:
The LMC analyzed
The annotation used. Can either be chrXY
for enrichments on different chromosmes or different functional categories in the Ensembl regulatory build
The p-value computing using Fisher's exact test for enrichment
The odds ratio for enrichment
Michael Scherer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.