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

View source: R/gUtils.R

streduceR Documentation

Reduce GRanges and GRangesList to miminal footprint

Description

Reduce GRanges and GRangesList to miminal footprint

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

Usage

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


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


mskilab/gUtils documentation built on June 6, 2023, 12:08 a.m.