Learn R Programming

geneHapR (version 1.2.4)

getGeneRanges: Get Gene Ranges

Description

Get Gene Ranges

Usage

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

Value

GRanges

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

Examples

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

Run the code above in your browser using DataLab