exons_to_genes {NanoMethViz} | R 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))

[Package NanoMethViz version 2.0.0 Index]