scale_fill_giemsa {ggbio} | R Documentation |
scale filled color to customized giemsa color.
scale_fill_giemsa(fill = getOption("biovizBase")$cytobandColor)
fill |
a character vector to indicate colors, and names of vector mapped to gieStain name. |
a list.
Tengfei Yin
getOption("biovizBase")$cytobandColor library(biovizBase) data(hg19IdeogramCyto) p1 <- autoplot(hg19IdeogramCyto, layout = "karyogram", aes(fill = gieStain)) p1 p1 + scale_fill_giemsa()