Extend: Extend

ExtendR Documentation

Extend

Description

Resize GenomicRanges upstream and or downstream. From https://support.bioconductor.org/p/78652/

Usage

Extend(x, upstream = 0, downstream = 0, from.midpoint = FALSE)

Arguments

x

A range

upstream

Length to extend upstream

downstream

Length to extend downstream

from.midpoint

Count bases from region midpoint, rather than the 5' or 3' end for upstream and downstream respectively.

Value

Returns a GRanges object

Examples

if(FALSE){
    Extend(x = blacklist_hg19, upstream = 100, downstream = 100)
}


Honchkrow/SignacSlim documentation built on April 9, 2022, 1:49 a.m.