Generates a GRanges
compatible with geom_genemodel
.
example_genemodels()
A GRanges
object of length 165.
The result contains about one megabase's worth of genes on human
chromosome 17. Data was taken from GRCh38.92 (hg38) gene models from
Ensembl and was edited to somewhat
simplify data. Original .gtf
file is available at the
Ensembl
database.
#> GRanges object with 165 ranges and 2 metadata columns: #> seqnames ranges strand | type name #> <Rle> <IRanges> <Rle> | <factor> <character> #> [1] chr17 63728411-63728413 - | CDS AC046185.1 #> [2] chr17 63751940-63752097 - | CDS AC046185.1 #> [3] chr17 63702845-63704582 - | UTR AC046185.1 #> [4] chr17 63706635-63707418 - | UTR AC046185.1 #> [5] chr17 63710728-63710836 - | UTR AC046185.1 #> ... ... ... ... . ... ... #> [161] chr17 63411511-63415674 + | CDS TANC2 #> [162] chr17 63418307-63421952 + | CDS TANC2 #> [163] chr17 63009556-63009559 + | UTR TANC2 #> [164] chr17 63399043-63399286 + | UTR TANC2 #> [165] chr17 63420062-63427699 + | UTR TANC2 #> ------- #> seqinfo: 1 sequence from hg38 genome