standardize_tags: Standardize GRanges field names

View source: R/velocity.R

standardize_tagsR Documentation

Standardize GRanges field names

Description

To avoid introducing rlang as another dependency for tidyeval. This function will also convert exon numbers to integer.

Usage

standardize_tags(gr, gene_id, transcript_id)

Arguments

gr

A GRanges object.

gene_id

Name of the metadata field for gene ID.

transcript_id

Name of the metadata field for transcript ID.

Value

A GRanges object with standardized names: gene ID as gene_id, and transcript ID as transcript_id.


lambdamoses/BUStoolsR documentation built on Aug. 28, 2022, 1:35 p.m.