getGeneRanges {geneHapR}R 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")

[Package geneHapR version 1.2.4 Index]