Usage
geneViz(txdb, gr, genome, reduce = FALSE, gene_colour = NULL, base = c(10, 2, 2), transform = c("Intron", "CDS", "UTR"), isoformSel = NULL, labelTranscript = TRUE, labelTranscriptSize = 4, plotLayer = NULL)
Arguments
txdb
Object of class TxDb giving transcription meta data for a genome
assembly. See Bioconductor annotation packages.
gr
Object of class GRanges specifying the region of interest and
corresponding to a single gene. See Bioconductor package GRanges.
genome
Object of class BSgenome specifying the genome sequence of
interest. See Bioconductor annotation packages.
reduce
Boolean specifying whether to collapse gene isoforms within the
region of interest into one representative transcript. Experimental use with
caution!
gene_colour
Character string specifying the colour of the gene to be
plotted.
base
Numeric vector of log bases to transform the data
corresponding to the elements supplied to the variable transform See details.
transform
Character vector specifying what objects to log transform,
accepts "Intron", "CDS", and "UTR" See details.
isoformSel
Character vector specifying the names
(from the txdb object) of isoforms within the region of interest to display.
labelTranscript
Boolean specifying whether to plot the transcript
names in the gene plot.
labelTranscriptSize
Integer specifying the size of the transcript
name text in the gene plot.
plotLayer
Valid ggplot2 layer to be added to the gene plot.