resizeRanges: Resize genomic ranges to user defined multiple of their...

Description Usage Arguments Value

View source: R/utils.R

Description

Resize genomic ranges to user defined multiple of their original size

Usage

1
resizeRanges(gr, times = 2, bsgenome)

Arguments

gr

A GRanges-class object.

times

A number of how many times to extend each range by its own width.

bsgenome

A reference genome to get lengths of standard chromosomes (1-22 adn X).

Value

A GRanges-class object with resized original set of ranges.


daewoooo/primatR documentation built on Nov. 8, 2018, 7:44 p.m.