Class: GFFAnnotation
Return index array of annotations from GFFAnnotation
object
Idx = getIndex(AnnotObj)
Idx = getIndex(AnnotObj,StartPos,EndPos)
Idx = getIndex(___,Name,Value)
returns
an index array Idx
= getIndex(AnnotObj
)Idx
, an array of integers containing
the index of each annotation in AnnotObj
.
returns
an index array Idx
= getIndex(AnnotObj
,StartPos
,EndPos
)Idx
for a subset of elements that
falls within each reference sequence range specified by StartPos
and EndPos
.
returns
an index array Idx
= getIndex(___,Name,Value
)Idx
, using any of the input arguments
from the previous syntaxes and additional options specified by one
or more Name,Value
pair arguments.
|
Object of the |
|
Nonnegative integer specifying the start of a range in each
reference sequence in |
|
Nonnegative integer specifying the end of a range in each reference
sequence in |
Specify optional
comma-separated pairs of Name,Value
arguments. Name
is
the argument name and Value
is the corresponding value.
Name
must appear inside quotes. You can specify several name and value
pair arguments in any order as
Name1,Value1,...,NameN,ValueN
.
|
Character vector or cell array of character vectors specifying
one or more reference sequences in |
|
Character vector or cell array of character vectors specifying
one or more features in |
|
Minimum number of base positions that an annotation must overlap
in the range, to have its index included in
Default: |
|
Array of integers representing indices of elements in |
Construct a GFFAnnotation
object using
a GFF-formatted file that is provided with Bioinformatics Toolbox™.
GFFAnnotObj = GFFAnnotation('tair8_1.gff');
Extract indices of annotations or features for positions 10,000 through 20,000 from the reference sequence.
Idx = getIndex(GFFAnnotObj,10000,20000) Idx = 61 62 63 64 65 66 67 68 69