scale_fill_giemsa: scale filled color to customized giemsa color.

Description Usage Arguments Value Author(s) Examples

View source: R/utils.R

Description

scale filled color to customized giemsa color.

Usage

1
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

1
2
3
4
5
6
7
getOption("biovizBase")$cytobandColor
library(biovizBase)
data(hg19IdeogramCyto)
p1 <- autoplot(hg19IdeogramCyto, layout = "karyogram", aes(fill  =
gieStain))
p1
p1 + scale_fill_giemsa()

ggbio documentation built on Nov. 8, 2020, 5:04 p.m.