grl.unlist: Robust unlisting of 'GRangesList' that keeps track of origin

grl.unlistR Documentation

Robust unlisting of GRangesList that keeps track of origin

Description

Robust unlisting of GRangesList that keeps track of origin

Does a "nice" unlist of a GRangesList object adding a field grl.ix denoting which element of the GRangesList each GRanges corresponds to and a field grl.iix which saves the (local) index that that gr was in its corresponding GRangesList item

In this way, grl.unlist is reversible, while BiocGenerics::unlist is not.

Usage

grl.unlist(grl)

Arguments

grl

GRangeList object to unlist

Value

GRanges with added metadata fields grl.ix and grl.iix.

Examples


grl.unlist(grl.hiC)


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