ideoView_buildMain {GenVisR} | R Documentation |
given a data frame with cytogenetic band locations plot chromosome in ggplot
ideoView_buildMain(data_frame, chromosome, chr_txt_angle = chr_txt_angle, chr_txt_size = chr_txt_size, layers = NULL)
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 |
ggplot object