Description Usage Arguments Details Value Author(s) See Also Examples
The function read GTF format annotation data into GRange objects by different features. The input GTF data can be downloaded from UCSC, Ensembl and so on. The function can split the regions into different features, such as exon, CDS, intron and utr.
1 2 3 | read.GTF(file, feature = c("exon", "CDS", "intron", "utr"),
attributes = c("gene_id", "transcript_id", "gene_name",
"transcript_name", "protein_id"))
|
file |
The gene annotation file in GTF format. |
feature |
A character vector that are used to classify the gene regions. It can be the combination of "exon", "CDS", "intron" and "utr". |
attributes |
The element names of the attribute column in the GTF data. |
More details about the GTF format can be found at: http://mblab.wustl.edu/GTF22.html
The results return a list of GRanges object according to the specified features. By default, the features "exon", "CDS", "intron", "utr" are specified. The results will contain a list of regions that contains exon, coding sites, intron, 3 end UTR and 5 end UTR from the input GTF file.
Qiang Hu
1 2 3 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.