download_gtf: Download GTF file

View source: R/3.1_read_rnaseq.R

download_gtfR Documentation

Download GTF file

Description

Download GTF file with feature annotations

Usage

download_gtf(
  organism,
  release = 100,
  gtffile = sprintf("%s/gtf/%s", R_user_dir("autonomics", "cache"),
    basename(make_gtf_url(organism, release) %>% substr(1, nchar(.) - 3)))
)

Arguments

organism

'Homo sapiens', 'Mus musculus' or 'Rattus norvegicus'

release

GTF release (number)

gtffile

string: path to local GTF file

Value

gtffile path

Examples

organism <- 'Homo sapiens'
# download_gtf(organism)

bhagwataditya/importomics documentation built on Nov. 28, 2024, 8:28 a.m.