scale_fill_giemsa: scale filled color to customized giemsa color.

View source: R/scales.R

scale_fill_giemsaR Documentation

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.

Author(s)

Tengfei Yin

Examples

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

lawremi/ggbio documentation built on Nov. 1, 2023, 2:40 p.m.