getSubset
Retrieve subset of elements from GTFAnnotation or
GFFAnnotation object
Syntax
Description
returns NewObj = getSubset(___,Name,Value)NewObj, a new object containing a subset of the elements from
AnnotObj, using any of the input arguments from the previous syntaxes
and additional options specified by one or more Name,Value pair
arguments.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Tips
The
getSubsetfunction selects annotations from the range specified byStartPosandEndPosfor each reference sequence inAnnotObjunless you use theReferencename-value pair argument to limit the reference sequences.After creating a subsetted object, you can access the number of entries, range of reference sequences covered by annotations, field names, and reference names. To access the values of all fields, create a structure of the data using the
getDatafunction.
Version History
Introduced in R2013a
See Also
getData | getExons | getFeatureNames | getGeneNames | getGenes | getIndex | getRange | getReferenceNames | getSegments | getTranscriptNames | getTranscripts | GTFAnnotation | GFFAnnotation