Learn R Programming

ggbio (version 1.20.1)

scale_fill_giemsa: scale filled color to customized giemsa color.

Description

scale filled color to customized giemsa color.

Usage

scale_fill_giemsa(fill = getOption("biovizBase")$cytobandColor)

Arguments

fill
a character vector to indicate colors, and names of vector mapped to gieStain name.

Value

  • a list.

Examples

Run this code
getOption("biovizBase")$cytobandColor
library(biovizBase)
data(hg19IdeogramCyto)
p1 <- autoplot(hg19IdeogramCyto, layout = "karyogram", aes(fill  =
gieStain))
p1
p1 + scale_fill_giemsa()

Run the code above in your browser using DataLab