gr.start: Get GRanges corresponding to beginning of range

Description Usage Arguments Value Examples

View source: R/gUtils.R

Description

Get GRanges corresponding to beginning of range

Usage

1
gr.start(x, width = 1, force = FALSE, ignore.strand = TRUE, clip = TRUE)

Arguments

x

GRanges object to operate on

width

integer Specify subranges of greater width including the start of the range. (default = 1)

force

boolean Allows returned GRanges to have ranges outside of its Seqinfo bounds. (default = FALSE)

ignore.strand

boolean If set to FALSE, will extend '-' strands from the other direction (default = TRUE)

clip

boolean Trims returned GRanges so that it does not extend beyond bounds of the input GRanges (default = TRUE)

Value

GRanges object of width 1 ranges representing start of each genomic range in the input.

Examples

1
2

mskilab/gUtils documentation built on Sept. 1, 2018, 8:21 p.m.