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

R-CMD-check CRANVersion Downloads from the RStudio CRANmirror

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

Installation

You can install ggsci from CRAN:

install.packages("ggsci")

Or try the development version on GitHub:

remotes::install_github("nanxstats/ggsci")

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

Gallery

NPG

AAAS

NEJM

Lancet

JAMA

BMJ

JCO

UCSCGB

D3

Gephi

Observable

Primer

Atlassian

iTerm

LocusZoom

IGV

COSMIC

UChicago

Star Trek

Tron Legacy

Futurama

Rick and Morty

The Simpsons

Flat UI

Frontiers

GSEA

Bootstrap 5

Material Design

Tailwind CSS

Related projects

ggsci is also available in other programming languages:

  • py-ggsci - ggsci color palettes for plotnine in Python.
  • ggsci-rs - ggsci color palettes for Rust, Ratatui, and ggsql.

Contribute

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

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")

5.2.0 by Nan Xiao, 3 months ago


https://nanx.me/ggsci/, https://github.com/nanxstats/ggsci


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


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


Authors: Nan Xiao [aut, cre, cph] (ORCID: , Joshua Cook [ctb] , Clara Jégousse [ctb] , Hui Chen [ctb] , Miaozhu Li [ctb] , iTerm2-Color-Schemes contributors [ctb, cph] (iTerm2-Color-Schemes project) , Winston Chang [ctb, cph] (staticimports.R)


Documentation:   PDF Manual  


GPL (>= 3) license


Imports ggplot2, grDevices, rlang, scales

Suggests gridExtra, knitr, ragg, rmarkdown


Imported by BioM2, BioThermR, CEDA, CimpleG, ExpGenetic, LightLogR, LipidomicsR, MultiTraits, RChASM, SIMPLICA, UniprotR, causalQual, dabestr, ggpubr, gompertztrunc, immunarch, itol.toolkit, jrt, jskm, mappoly, mvSUSY, omicsTools, plutor, rSDR, rhythm.metrics, sRNAGenetic.

Suggested by AlleleShift, ELAplus, EpiForsk, IOBR, MetabolSSMF, NBvarsel, SingleCellComplexHeatMap, causalCmprsk, cellGeometry, drord, gMOIP, genekitr, mlr3spatiotempcv, mrgsim.sa, pcutils, psm3mkv, specProc, wmwAUC.


See at CRAN