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.


BUStools/BUSpaRse documentation built on Aug. 2, 2024, 5:07 a.m.