GTFAnnotation
Contain Gene Transfer Format (GTF) annotations
Description
The GTFAnnotation
object contains annotations for one or more
reference sequences, conforming to the GTF file format.
Each element in the object represents an annotation. Use the object properties and methods to filter annotations by feature, reference sequence, or reference sequence position. Use object methods to extract data for a subset of annotations into an array of structures.
Creation
Construct a GTFAnnotation
object from a GTF-formatted file.
constructs a Annotobj
=
GTFAnnotation(File
)GTFAnnotation
object Annotobj
from
File
. Here, File
is a character vector or string
specifying a GTF-formatted file.
Properties
Object Functions
getData | Create structure containing subset of data from GTFAnnotation or
GFFAnnotation object |
getExons | Return table of exons from GTFAnnotation object |
getFeatureNames | Retrieve unique feature names from GTFAnnotation or
GFFAnnotation object |
getGeneNames | Retrieve unique gene names from GTFAnnotation object |
getGenes | Return table of unique genes in GTFAnnotation object |
getIndex | Return index array of annotations from GTFAnnotation or GFFAnnotation
object |
getRange | Retrieve range of annotations from GTFAnnotation or
GFFAnnotation object |
getReferenceNames | Retrieve reference names from GTFAnnotation or
GFFAnnotation object |
getSegments | Return table of non-overlapping segments from GTFAnnotation
object |
getSubset | Retrieve subset of elements from GTFAnnotation or
GFFAnnotation object |
getTranscriptNames | Retrieve unique transcript names from GTFAnnotation
object |
getTranscripts | Return table of unique transcripts in GTFAnnotation
object |
Examples
Version History
Introduced in R2011b