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

View source: R/utils.R

resizeRangesR Documentation

Resize genomic ranges to user defined multiple of their original size

Description

Resize genomic ranges to user defined multiple of their original size

Usage

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 Oct. 22, 2024, 9:41 p.m.