Description Usage Arguments Value Examples
extract tx2gene and gene annotation file from gtf file
1 2 3 | gtf_to_annotation(gtf_file, species = "hs", datasource = "ensembl",
server = "asia.ensembl.org", fp = c("EGFP", "mCherry", "tdTomato",
"ZsGreen", "turboGFP", "mNeonGreen", "mScarleti"))
|
gtf_file |
a gtf file, typically downloaded from ensembl(http://www.ensembl.org/info/data/ftp/index.html) |
species |
it must be one of hs, mm |
datasource |
dataSrouce, like "ensembl GRCh38.95" |
server |
define a server which biomaRt will use |
fp |
if NULL, adding fp info will be omitted, if suppied with a vector(Default), then it will be added. |
a list with two items, tx2gene was used for conversion between transcript and gene, annotation was gene annotation info
1 2 | gtf <- "~/Desktop/Mus_musculus.GRCm38.95.gtf"
grcm38 <- gtf_to_annotation(gtf, "mm", "ensembl_GRCm38.95") %>% .[[2]] %>% head()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.