associate_genomic_region: Associate genomic regions to a GRanges object.

Description Usage Arguments Value

View source: R/AnnotationHelper.R

Description

Associate genomic regions to a GRanges object.

Usage

1
2
associate_genomic_region(regions, genome.build, output.dir,
  tssRegion = c(-3000, 3000))

Arguments

regions

A GRanges object to annotate.

genome.build

The name of the chosen annotation ("hg38", "mm9", "mm10", "hg19").

output.dir

The name of the directory where to write the selected annotations.

tssRegion

A vector with the region range to TSS.

Value

The GRanges object with associated genomic regions.


ArnaudDroitLab/ef.utils documentation built on Nov. 24, 2018, 5:11 p.m.