partition_genomic_regions: Generate a GRanges object partitioning the genome into...

Description Usage Arguments Value

View source: R/AnnotationHelper.R

Description

Generate a GRanges object partitioning the genome into Promoter, Exon, introns, downstream and distal intergenic regions.

Usage

1
2
partition_genomic_regions(TxDb, available.genome = NULL, BSgenome = NULL,
  flank.width = 1000)

Arguments

TxDb

A TxDb object giving the locations of all genes for the given genome.

available.genome

A Granges object to be used as a background of all the available genome.

BSgenome

A BSgenome object to be used for generating an available genome background. Ignored if available.genome is provided.

flank.width

The distance from the TSS/TES which are considered Promoters/Downstream.

Value

A GRanges object partitioning the genome into functional genomic regions.


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