Learn R Programming

GenVisR (version 1.0.4)

ideoView_buildMain: build chromosome

Description

given a data frame with cytogenetic band locations plot chromosome in ggplot

Usage

ideoView_buildMain(data_frame, chromosome, chr_txt_angle = chr_txt_angle, chr_txt_size = chr_txt_size, layers = NULL)

Arguments

data_frame
a data frame with columns chrom, chromStart, chromEnd, name, gieStain, height_min, height_max, alternate, bandcenter, text_y, arm
chromosome
character string specifying UCSC chromosome to plot one of chr... or all
chr_txt_angle
integer specifying angle of text when plotting band text
chr_txt_size
integer specifying size of text when plotting band text
layers
additional ggplot2 layers to plot

Value

ggplot object