Giter Club home page Giter Club logo

ggsci's Introduction

ggsci

R-CMD-check 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("nanxstats/ggsci")

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

Lymphoma-centric colours

Cheatsheet

For HTML versions of these tables with embedded colours, see this page.

General B-NHL subgroups of (or related to) DLBCL

b_cell_nhl_cols=ggsci::get_ash("b-cell")

Pathology hex
CLL #889BE5
MCL #F37A20
BL #926CAD
mBL #34C7F4
PMBL #227C9D
FL #EA8368
tFL #FF8595
COMFL #8BBC98
DLBCL #479450
HGBL-NOS #294936
HGBL-DH/TH #7A1616
PBL #E058C0
CNS #E2EF60
THRLBCL #A5F2B3
MM #CC9A42
SCBC #8c9c90
UNSPECIFIED #cfba7c

Cell of origin and gene expression subgroups

coo_cols=ggsci::get_ash("coo")
COO hex
DHITsig+ #D62828
DHITsig-IND #003049
DHITsig- #B1740F
GCB #F58F20
ABC #05ACEF
UNCLASS #05631E

Genetic classes from Chapuy et al

harvard_cols=ggsci::get_ash("harvard")
Harvard hex
C3 #721F0F
C4 #C41230
C5 #3B5FAC
C1 #7F3293
C2 #5b6d8a
C0 #ACADAF

LymphGen classes from Schmitz et al with updates described in Wright et al

lymphgen_cols=ggsci::get_ash("lymphgen")
LymphGen hex
EZB-MYC #52000F
EZB #721F0F
EZB-COMP #C7371A
ST2 #C41230
ST2-COMP #EC3251
MCD #3B5FAC
MCD-COMP #6787CB
BN2 #7F3293
BN2-COMP #A949C1
N1 #55B55E
N1-COMP #7FC787
A53 #5b6d8a
Other #ACADAF

HMRN classes from Lacy et al with updates described in Runge et al

hmrn_cols=ggsci::get_ash("hmrn")
HMRN hex
BCL2-MYC #52000F
BCL2 #721F0F
SOCS1/SGK1 #D66B1F
TET2/SGK1 #C41230
MYD88 #3B5FAC
NOTCH2 #7F3293
NOTCH1 #55B55E
Other #ACADAF

Gallery

NPG

npg

AAAS

aaas

NEJM

nejm

Lancet

lancet

JAMA

jama

JCO

jco

UCSCGB

ucscgb

D3

d3

LocusZoom

locuszoom

IGV

igv

COSMIC

cosmic-hallmarks-light

cosmic-hallmarks-dark

cosmic-signature-substitutions

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.

ggsci's People

Contributors

jhrcook avatar nanxstats avatar rdmorin avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.