Extract the coordinates of the longest transcript for a gene stored in the annotations within an object.

LookupGeneCoords(object, gene, assay = NULL)

Arguments

object

A Seurat object

gene

Name of a gene to extract

assay

Name of assay to use

Examples

LookupGeneCoords(atac_small, gene = "MIR1302-10")
#> GRanges object with 1 range and 0 metadata columns:
#>       seqnames      ranges strand
#>          <Rle>   <IRanges>  <Rle>
#>   [1]     chr1 29554-31109      *
#>   -------
#>   seqinfo: 1 sequence from an unspecified genome; no seqlengths