region_enrichment: Calculates enrichment ratios for quer regions against a...

Description Usage Arguments Value

View source: R/IntersectionHelper.R

Description

Calculates enrichment ratios for quer regions against a genome wide partition of the genome.

Usage

1
2
region_enrichment(query.regions, genome.wide, genome.order = NULL,
  file.out = NULL)

Arguments

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.

Value

A data-frame containing the enrichment values.


ArnaudDroitLab/ef.utils documentation built on Aug. 13, 2019, 9:09 p.m.