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

Description Usage Arguments Value Author(s)

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.

Author(s)

David Porubsky


daewoooo/primatR documentation built on Jan. 21, 2019, 5:51 a.m.