getGeneRanges: Get Gene Ranges

View source: R/getGenePOS.R

getGeneRangesR Documentation

Get Gene Ranges

Description

Get Gene Ranges

Usage

getGeneRanges(gff= gff,
             geneID = geneID,
             type = type,
             gffTermContaingeneID = "Parent")

Arguments

gff

imported gff

geneID

target geneID

type

vector consist with one or more types in gff

gffTermContaingeneID

which term contains the geneID in your gff, defalt is Parent

Value

GRanges

Examples

data("geneHapR_test")
geneRanges <- getGeneRanges(gff = gff,
                            geneID = "test1G0387",
                            type = "CDS",
                            gffTermContaingeneID = "Parent")

geneHapR documentation built on May 29, 2024, 11:59 a.m.