getData
Create structure containing subset of data from GTFAnnotation or
        GFFAnnotation object
Syntax
Description
        returns AnnotStruct = getData(AnnotObj)AnnotStruct, an array of structures containing data from all
        elements in AnnotObj. The fields in the return structures are the same
        as the elements in the FieldNames property of
          AnnotObj.
        returns AnnotStruct = getData(AnnotObj,StartPos,EndPos)AnnotStruct, an array of structures containing data from a
        subset of the elements in AnnotObj that falls within each reference
        sequence range specified by StartPos and
        EndPos.
        returns AnnotStruct = getData(AnnotObj,Subset)AnnotStruct, an array of structures containing subset of data
        from AnnotObj specified by Subset, a vector of
        integers.
        returns AnnotStruct = getData(___,Name,Value)AnnotStruct, an array of structures, using any of the input
        arguments in the previous syntaxes and additional options specified by one or more
          Name,Value pair arguments.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Tips
Using getData creates a structure, which provides better access to the
      annotation data than an object.
You can access all field values in a structure.
You can extract, assign, and delete field values.
You can use linear indexing to access field values of specific annotations. For example, you can access the start value of only the fifth annotation.
Version History
Introduced in R2013a
See Also
getExons | getFeatureNames | getGeneNames | getGenes | getIndex | getRange | getReferenceNames | getSegments | getSubset | getTranscriptNames | getTranscripts | GTFAnnotation | GFFAnnotation