get_internal_region_lengths: Returns the overall length of each region with UTR Junctions

Description Usage Arguments Value Examples

View source: R/annotation_functions.R

Description

The function get_internal_region_coordinates retrieves the lengths for the UTR5, UTR5 Junction, CDS, UTR3 Junction, and UTR3 regions of every transcript.

Usage

1

Arguments

ribo.object

A 'Ribo' object

alias

Option to return the transcript names as aliases

Value

A data.frame of the region lengths

Examples

1
2
3
4
5
6
# generate a ribo object 
file.path <- system.file("extdata", "HEK293_ingolia.ribo", package = "ribor")
sample <- Ribo(file.path, rename = rename_default)

# get the region lengths
region_lengths <- get_internal_region_lengths(sample, alias = TRUE)

ribosomeprofiling/ribor documentation built on May 21, 2021, 8:02 a.m.