Learn R Programming

GenVisR (version 1.0.4)

geneViz_formatUTR: format UTR

Description

given a Granges object specifying a region of interest, format into a form recognizable by ggplot2

Usage

geneViz_formatUTR(txdb = NULL, gr = NULL, genome = NULL, reduce = FALSE)

Arguments

txdb
A TxDb object for a genome
gr
A Granges object to format
genome
Object of class BSgenome specifying the genome for GC content calculation
reduce
Boolean specifying whether to collapse isoforms in the Granges object ROI

Value

Object of class data frame