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.


Build Status AppVeyor Build Status CRAN Version Downloads from the RStudio CRAN mirror

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

Installation

Install ggsci from CRAN:

install.packages("ggsci")

Or try the development version on GitHub:

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

Browse the vignette (or open with vignette("ggsci") in R) for a quick-start guide.

Gallery

NPG

npg

AAAS

aaas

NEJM

nejm

Lancet

lancet

JAMA

jama

JCO

jco

UCSCGB

ucscgb

D3

d3

LocusZoom

locuszoom

IGV

igv

UChicago

uchicago

Star Trek

startrek

Tron Legacy

tron

Futurama

futurama

Rick and Morty

rickandmorty

The Simpsons

simpsons

GSEA

gsea

Material Design

material

Contribute

To contribute to this project, please take a look at the Contributing Guidelines first. Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

News

ggsci 2.8 (2017-09-30)

Improvements

  • Use system font stack instead of Google Fonts in vignettes to avoid pandoc SSL issue.

ggsci 2.7 (2017-06-12)

New Features

Two new discrete color palettes:

  • JAMA
  • Tron Legacy

One new collection of continuous palettes with 19 color options:

  • Material Design

ggsci 2.4 (2017-03-07)

New Features

Four new discrete color palettes:

  • NEJM
  • LocusZoom
  • IGV
  • Star Trek

ggsci 2.0 (2016-11-20)

New Features

Two new discrete color palettes:

  • D3.js (v3)
  • Futurama (Planet Express)

The first continuous color palette:

  • GSEA GenePattern

ggsci 1.0 (2016-04-01)

New Features

Eight discrete color palettes:

  • NPG
  • AAAS
  • Lancet
  • JCO
  • UCSCGB
  • UChicago
  • The Simpsons (Springfield)
  • Rick and Morty (Schwifty)

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.8 by Nan Xiao, 5 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 [aut, cre], Miaozhu Li [ctb]


Documentation:   PDF Manual  


GPL-3 | file LICENSE license


Imports grDevices, scales, ggplot2

Suggests knitr, rmarkdown, gridExtra, reshape2


Imported by ggpubr, powerlmm.


See at CRAN