exons_to_genes: Convert exon annotation to genes

View source: R/exons_to_genes.R

exons_to_genesR Documentation

Convert exon annotation to genes

Description

Convert exon annotation to genes

Usage

exons_to_genes(x)

Arguments

x

the exon level annotation containing columns "gene_id", "chr", "strand" and "symbol".

Value

the gene level annotation where each gene is taken to span the earliest start position and latest end position of its exons.

Examples

nmr <- load_example_nanomethresult()
exons_to_genes(NanoMethViz::exons(nmr))

Shians/NanoMethViz documentation built on June 8, 2024, 10:48 p.m.