annot2models: Prepare GTF for gene model plotting.

View source: R/input.R

annot2modelsR Documentation

Prepare GTF for gene model plotting.

Description

Create GRanges objects for each transcript and bind them into a GRangeList for each gene. Then one can easily ggbio::autoplot() a gene's models by its gene ID.

Usage

annot2models(annotfile, threads = 1L)

Arguments

annotfile

A GTF file.

threads

Number of processing threads (Default 1).

Value

A list (by gene) of GRangeLists (by transcript).


bartongroup/RATS documentation built on June 8, 2022, 12:40 a.m.