get_original_region_lengths: Returns the overall length of each region

Description Usage Arguments Value Examples

View source: R/annotation_functions.R

Description

The function get_original_region_coordinates retrieves the lengths for the UTR5, CDS, 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 coordinates
region_lengths <- get_original_region_lengths(sample, alias = TRUE)

mjgeng/ribor documentation built on Dec. 21, 2021, 7:03 p.m.