R/plots.R
scale_fill_pc.Rd
Scale a fill color
scale_fill_pc( palette = c("col1", "col2", "col3", "bluered"), alpha = 1, n = 11, ... )
col1~3; or a vector of colors, you can get from: RColorBrewer::brewer.pal(5,"Set2") or ggsci::pal_aaas()(5)
RColorBrewer::brewer.pal(5,"Set2")
ggsci::pal_aaas()(5)
alpha
how many colors you need
additional
scale_fill