Description Usage Arguments Value Examples
View source: R/annotation_functions.R
The function get_region_coordinates
retrieves the
lengths for the UTR5, UTR5 Junction, CDS, UTR3 Junction,
and UTR3 regions of every transcript.
1 | get_region_lengths(ribo.object, alias = FALSE)
|
ribo.object |
A 'Ribo' object |
alias |
Option to return the transcript names as aliases |
A data.frame of the region lengths
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_region_lengths(sample, alias = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.