transcriptsToAnnotations: Convert list of exons to a transcript annotations that can be...

View source: R/addTranscriptAnnotations.R

transcriptsToAnnotationsR Documentation

Convert list of exons to a transcript annotations that can be exported into a GFF file.

Description

Merge Granges object and construct gene and transcript entries. Add proper Parent-Child relationships.

Usage

transcriptsToAnnotations(transcript_list, gene_tx_map)

Arguments

transcript_list

Named list of GRanges objects containing exons of transcripts (transcripts ids are names of list elements)

gene_tx_map

Data frame mapping transcript ids to gene ids (required columns: transcript_id, gene_id)

Value

Merged GRanges object containin proper metadata for GFF export.


kauralasoo/txrevise documentation built on March 31, 2022, 12:03 p.m.