exons_to_genes {NanoMethViz} | R Documentation |
Convert exon annotation to genes
exons_to_genes(x)
x |
the exon level annotation containing columns "gene_id", "chr", "strand" and "symbol". |
the gene level annotation where each gene is taken to span the earliest start position and latest end position of its exons.
nmr <- load_example_nanomethresult() exons_to_genes(NanoMethViz::exons(nmr))