Learn R Programming

GenVisR (version 1.0.4)

geneViz_buildGene: build gene plot

Description

given a data frame with gene feature information build the ggplot2 object

Usage

geneViz_buildGene(data_frame, display_x_axis = TRUE, x_limits = NULL, gene_colour = NULL, transcript_name = FALSE, transcript_name_size = 4, layers = NULL)

Arguments

data_frame
an object of class data frame specifying gene feature information
display_x_axis
Boolean specifying whether to display X axis coordinate values
x_limits
vector specifying x-axis limits of plot
gene_colour
character specifying colour of gene to be plotted
transcript_name
Boolean specifying whether to plot USCS transcript names
transcript_name_size
Integer specifying the size of the transcript name text
layers
additional ggplot2 layers to plot

Value

ggplot object