.get_intron_annotations | R Documentation |
Get intron annotations
.get_intron_annotations(x, intron_ids)
x |
an object of class irFinderSdata |
intron_ids |
a character vector of intron ids for which annotations to be retrieved. |
a dataframe with columns chr, start, end, intron_id,
null, strand, gene_id, gene_symbol
example_dir <- system.file("extdata" ,"ir_data" , package="parcutils")
example_files <- fs::dir_ls(example_dir, glob = "*-IR-nondir*.txt")
names(example_files) <- stringr::str_replace(example_files , pattern = ".*/", replacement = "") %>%
stringr::str_replace(pattern = "-IR-nondir.txt", replacement = "")
x <- read_irfinderS_output(files = example_files, add_prefix_chr = FALSE)
.get_intron_annotations(x, intron_ids = paste("intron", sample(1:100, 10),sep ="_"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.