assign_feature: Helper function to label the last component of a genomic...

View source: R/01.parse_TxDb.R

assign_featureR Documentation

Helper function to label the last component of a genomic feature for each transcript

Description

Helper function to label the last component of a genomic feature for each transcript

Usage

assign_feature(gr, feature_alt = "utr3")

Arguments

gr

A tibble converted from an object of GenomicRanges::GRanges

feature_alt

A character(1) vector, specifying the type of genomic features, such as "CDS", "exon", "utr3", "utr5".

Value

An object of GenomicRanges::GRanges

Author(s)

Haibo Liu


haibol2016/InPAS documentation built on March 30, 2022, 10:30 a.m.