Description Usage Arguments Value
View source: R/IntersectionHelper.R
Calculates enrichment ratios for quer regions against a genome wide partition of the genome.
1 2 | region_enrichment(query.regions, genome.wide, genome.order = NULL,
file.out = NULL)
|
query.regions |
The regions whose enrichment ratios must be calculated. |
genome.wide |
The genome partition indicating which part of the genome fall within which category. Each range should have a 'name' attribute indicating its category. |
file.out |
An optional file name for a graphical representation of the enrichments. |
factor.order |
An optional ordering of the region types for the produced plot. |
A data-frame containing the enrichment values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.