Description Usage Arguments Value See Also Examples
View source: R/info_functions.R
get_metadata
provides information on all of the user-inputted
metadata of an experiment. If the experiment is not found, then the
attributes of the root .ribo file is returned instead.
1 | get_metadata(ribo.object, name = NULL, print = TRUE)
|
ribo.object |
object of class 'ribo' |
name |
The name of the experiment |
print |
Logical value indicating whether or not to neatly print the output |
If a valid experiment name is provided, a list of elements providing all of the metadata of the experiment is returned.
If the name is not provided and the root file has metadata, then a list of elements providing all of the metadata found in the root file is returnend.
Ribo
to generate the necessary ribo.object parameter
1 2 3 4 5 6 7 | #ribo object use case
#generate the ribo object
file.path <- system.file("extdata", "sample.ribo", package = "ribor")
sample <- Ribo(file.path)
#the ribo file contains an experiment named 'Hela_1'
get_metadata(sample, "Hela_1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.