getGenePOS: Get Gene Position

View source: R/getGenePOS.R

getGenePOSR Documentation

Get Gene Position

Description

Get Gene Position

Usage

getGenePOS(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

named vectors contains start, end and strand

Examples

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


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