restrictTSSByUpstreamLeader: Restrict extension of 5' UTRs to closest upstream leader end

View source: R/cage_annotations.R

restrictTSSByUpstreamLeaderR 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


Roleren/ORFik documentation built on Dec. 18, 2024, 11:39 p.m.