get_info: Get information about the .ribo file

Description Usage Arguments Details Value See Also Examples

View source: R/info_functions.R

Description

The function get_info provides information on the attributes, metadata, and datasets of the ribo file.

Usage

1
get_info(ribo.object)

Arguments

ribo.object

ribo.object is an S4 object of class "Ribo"

Details

The get_info first provides information on the format version, left_span, right_span, longest read length, shortest read length, metagene_radius, and reference model. The last element of the returned list contains the information about the presence of coverage and RNA-seq data which are optional datasets to include in a .ribo file.

Value

Returns a list containing a nested list of file attributes, a logical value denoting whether the root file has additional metadata, and a data.frame of information on each experiment

See Also

Ribo to generate the necessary ribo.object parameter

Examples

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

#retrieve information
get_info(sample)

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