assign_feature {InPAS} | R 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

[Package InPAS version 2.2.0 Index]