intexIndex {IntEREst} | R Documentation

## Extract index of intron or exon rows

### Description

Extract row numbers where introns (or exons dependant on user's request) are located in an object of type `SummarizedExperiment`.

### Usage

    intexIndex(x, intExCol="int_ex", what="intron")

### Arguments

`x` | Object of type `SummarizedExperiment`.
`intExCol` | Column name (or number) that represents whether each row is "intron" or "exon" in `rowData` of `x`.
`what` | A character string that defines whether the index for the introns or exons should be returned. Accepts either `"exon"` or `"intron"` (default) as values.

### Value

A numeric vector which includes the index of the introns/exons.

### Author(s)

Ali Oghabian

### See Also

`u12NbIndex`

### Examples

    # Show the few first index of rows that represent the introns
    head(intexIndex(mdsChr22Obj, what="intron"))

[Package IntEREst version 1.11.5 Index]