mapToGRanges {ORFik} | R Documentation

## Map orfs to genomic coordinates

### Description

Creates GRangesList from the results of ORFs_as_List and the GRangesList used to find the ORFs

### Usage

    mapToGRanges(grl, result, groupByTx = TRUE)

### Arguments

`grl` | A `GRangesList` of the original sequences that gave the orfs in Genomic coordinates.
`result` | IRangesList A list of the results of finding uorfs list syntax is: Per list group in IRangesList is per grl index. In transcript coordinates. The names are grl index as character.
`groupByTx` | logical (T), should output GRangesList be grouped by transcripts (T) or by ORFs (F)?

### Details

There is no check on invalid matches, so be carefull if you use this function directly.

### Value

A `GRangesList` of ORFs.

### See Also

Other ORFHelpers: `defineTrailer()`, `longestORFs()`, `orfID()`, `startCodons()`, `startSites()`, `stopCodons()`, `stopSites()`, `txNames()`, `uniqueGroups()`, `uniqueOrder()`

[Package ORFik version 1.8.6 Index]