unlistGrl {ORFik} | R Documentation

## Safe unlist

### Description

Same as [AnnotationDbi::unlist2()], keeps names correctly. One difference is that if grl have no names, it will not make integer names, but keep them as null.

### Usage

    unlistGrl(grl)

### Arguments

`grl` | a GRangesList

### Value

a GRanges object

### Examples

    ORF <- GRanges(seqnames = "1",
                   ranges = IRanges(start = c(1, 10, 20),
                                    end = c(5, 15, 25)),
                   strand = "+")
    grl <- GRangesList(tx1_1 = ORF)
    unlistGrl(grl)

[Package ORFik version 1.0.0 Index]