restrictTSSByUpstreamLeader {ORFik} | R Documentation

## Restrict extension of 5' UTRs to closest upstream leader end

### Description

Basicly this function restricts all startSites, to the upstream GRangesList objects end. Usually leaders, for CAGE. Example: leader1: start on 10, leader2: stop on 8, extend leader1 to 5 -> this function will resize leader1 to 9, to be outside leader2, so that CAGE reads can not wrongly overlap.

### Usage

    restrictTSSByUpstreamLeader(fiveUTRs, shiftedfiveUTRs)

### Arguments

`fiveUTRs` | The 5' leader sequences as GRangesList
`shiftedfiveUTRs` | The 5' leader sequences as GRangesList shifted by CAGE

### Value

GRangesList object of restricted fiveUTRs

[Package ORFik version 1.6.9 Index]