available_gencode_fields: Returns all supported fields in GTF data

Description Usage Arguments Details Value Author(s) Examples

Description

Returns all supported fields in GTF data

Usage

1
available_gencode_fields(file, level = "gene")

Arguments

file

the input GTF file

level

level of the annotation (e.g. gene, transcript, exon, ...)

Details

These fields are stored in the 9th column in the GTF file.

Value

A vector of available fields.

Author(s)

Zuguang Gu <z.gu@dkfz.de>

Examples

1
2
3
4
5
6
7
8
## Not run: 
download.file("ftp://ftp.sanger.ac.uk/pub/gencode/Gencode_human/release_19/gencode.v19.annotation.gtf.gz",
    destfile = "gencode.v19.annotation.gtf.gz")
available_gencode_fields("gencode.v19.annotation.gtf.gz", level = "gene")
available_gencode_fields("gencode.v19.annotation.gtf.gz", level = "transcript")

## End(Not run)
NULL

eilslabs/epic documentation built on May 16, 2019, 1:24 a.m.