makeGeneModel {GeneStructureTools} | R Documentation

## Convert GRanges gene model to data.frame for visualisation with Gviz

### Description

Convert GRanges gene model to data.frame for visualisation with Gviz

### Usage

    makeGeneModel(transcript)

### Arguments

`transcript` | GRanges of gene model to be visualised

### Value

data.frame of a gene model for visualisation

### Author(s)

Beth Signal

### See Also

Other Gviz gene structure visualisation: `annotateGeneModel`

### Examples

    gtf <- rtracklayer::import(system.file("extdata", "example_gtf.gtf",
    package="GeneStructureTools"))
    transcript <- gtf[gtf$type=="exon" & gtf$gene_name=="Neurl1a"]
    geneModel <- makeGeneModel(transcript)

[Package GeneStructureTools version 1.6.0 Index]