Draws the cytobands of a single chromosome between y = 0 and y = 1, colored by
Giemsa stain with a pinched centromere and an outline. Pair with
scale_fill_giemsa() for the standard band colors, annotate_ideogram_window()
and annotate_ideogram_zoom() to mark a locus, and theme_ideogram(). See
plot_ideogram() for all of these in one call.
Arguments
- chrom
Chromosome to draw, e.g.
"chr3".- data
GRanges object or data frame of cytobands with
seqnames,start,end,name, andgieStaincolumns. Defaults to cytobands_hg38.- outline_colour
Color of the chromosome outline.
- linewidth
Width of the chromosome outline.
Examples
if (FALSE) { # \dontrun{
ggplot2::ggplot() +
geom_ideogram("chr3") +
annotate_ideogram_window("chr3:187734001-187751500") +
scale_fill_giemsa() +
theme_ideogram()
} # }
