standardize_tags: Standardize GRanges field names

Description Usage Arguments Value

View source: R/velocity.R

Description

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

Usage

1
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.


BUSpaRse documentation built on March 3, 2021, 2:01 a.m.