expand_regions: Expand Regions

Description Usage Arguments Value Examples

View source: R/region_functions.R

Description

Expands regions to a desired width. Sequences that are partially out-of-bounds after expansion are removed.

Usage

1
expand_regions(zu_obj, length = 10)

Arguments

zu_obj

A ZentUtils object.

length

Number of bp to add to both sides of each region.

Value

A GRanges object in the 'expanded_regions' slot of the ZentUtils object.

Examples

1
zent <- expand_regions(zent, length = 10)

gzentner/ZentUtils documentation built on June 16, 2021, 12:24 a.m.