Learn R Programming

geneHapR (version 1.2.4)

getGenePOS: Get Gene Position

Description

Get Gene Position

Usage

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

Value

named vectors contains start, end and strand

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")
genePOS <- getGenePOS(gff = gff,
           geneID = "test1G0387",
           type = "CDS",
           gffTermContaingeneID = "Parent")

Run the code above in your browser using DataLab