streduce: Reduce 'GRanges' and 'GRangesList' to miminal footprint

Description Usage Arguments Value Examples

View source: R/gUtils.R

Description

Reduce GRanges and GRangesList to miminal footprint

Shortcut for reduce(sort(gr.stripstrand(unlist(x))))

Usage

1
streduce(gr, pad = 0, sort = TRUE)

Arguments

gr

GRanges or GRangesList

pad

integer Expand the input data before reducing. (default = 0)

sort

boolean Flag to sort the output. (default = TRUE)

Value

GRanges object with no strand information, representing a minimal footprint

Examples

1
2
streduce(grl.hiC, pad=10)
streduce(example_genes, pad=1000)

mskilab/gUtils documentation built on Dec. 13, 2018, 3:52 a.m.