Scientific Journal and Sci-Fi Themed Color Palettes for 'ggplot2'

A collection of 'ggplot2' color palettes inspired by plots in scientific journals, data visualization libraries, science fiction movies, and TV shows.


ggsci offers a collection of ggplot2 color palettes inspired by scientific journals, data visualization libraries, and science fiction TV shows.

Install ggsci from CRAN:

install.packages("ggsci")

Or try the development version on GitHub:

# install.packages("devtools")
devtools::install_github("road2stat/ggsci")

To load the package in R, simply use

library("ggsci")

and you are all set. See the vignette (or open with vignette("ggsci") in R) for a quick-start guide.

News

CHANGES IN ggsci VERSION 1.0 (2016-04-01)

  • First version
  • 8 discrete color palettes:
    • NPG
    • AAAS
    • Lancet
    • JCO
    • UCSCGB
    • UChicago
    • Simpsons
    • Rick and Morty

CHANGES IN ggsci VERSION 2.0 (2016-11-20)

  • Two new discrete color palettes:
    • D3 color palette
    • Futurama color palette
  • The first continuous color palette:
    • GSEA GenePattern color palette

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ggsci")

2.4 by Nan Xiao, 3 months ago


https://ggsci.net, https://github.com/road2stat/ggsci


Report a bug at https://github.com/road2stat/ggsci/issues


Browse source code at https://github.com/cran/ggsci


Authors: Nan Xiao <me@nanx.me>, Miaozhu Li <miaozhu.li@duke.edu>


Documentation:   PDF Manual  


GPL-3 | file LICENSE license


Imports grDevices, scales, ggplot2

Suggests knitr, rmarkdown, gridExtra, reshape2


Imported by ggpubr.


See at CRAN