• Stars
    star
    404
  • Rank 102,813 (Top 3 %)
  • Language
    R
  • License
    GNU General Publi...
  • Created over 6 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Ridgeline plots in ggplot2

ggridges: Ridgeline plots in ggplot2

R build status Coverage Status CRAN_Status_Badge CRAN_Downloads_Badge Lifecycle: maturing

Ridgeline plots are partially overlapping line plots that create the impression of a mountain range. They can be quite useful for visualizing changes in distributions over time or space.

Installation

Please install the stable release from CRAN:

install.packages("ggridges")

Alternatively, you can install the latest development version from github:

remotes::install_github("wilkelab/ggridges")

Usage

library(ggplot2)
library(ggridges)
    
ggplot(diamonds, aes(x = price, y = cut)) +
  geom_density_ridges(scale = 4) + 
  scale_y_discrete(expand = c(0, 0)) +     # will generally have to set the `expand` option
  scale_x_continuous(expand = c(0, 0)) +   # for both axes to remove unneeded padding
  coord_cartesian(clip = "off") + # to avoid clipping of the very top of the top ridgeline
  theme_ridges()
#> Picking joint bandwidth of 458

Documentation and Examples

First read the package vignette. Then read the reference manual.

More Repositories

1

cowplot

cowplot: Streamlined Plot Theme and Plot Annotations for ggplot2
R
678
star
2

ggtext

Improved text rendering support for ggplot2
R
643
star
3

SDS375

SDS 375 Data Visualization in R
HTML
282
star
4

ungeviz

Tools for visualizing uncertainty with ggplot2
R
158
star
5

gridtext

Improved text rendering support for grid graphics in R
R
95
star
6

practicalgg

Practical ggplot2
R
73
star
7

Opfi

A Python package for discovery, annotation, and analysis of gene clusters in genomics or metagenomics data sets.
Python
21
star
8

ProteinEvolutionToolbox

Python
14
star
9

DSC385

HTML
14
star
10

Metagenomics_CAST

Metagenomic search for novel CRISPR-transposons
C++
10
star
11

influenza_HA_evolution

Brainfuck
8
star
12

sicegar

R package for the analysis of single cell virology growth curves
R
8
star
13

wilkelab.github.io.archive_sep_2020

Source for wilkelab.org website
HTML
7
star
14

cinful

A fully automated pipeline to identify microcins along with their associated immunity proteins and export machinery
Pep8
6
star
15

influenza_pH1N1_timecourse

HyPhy
5
star
16

dataviz_shortcourse

Materials for a dataviz shortcourse
HTML
4
star
17

r4s_benchmark

Shell
3
star
18

EBOV_H1N1

TeX
3
star
19

cinful_data_analysis

A repository for the analysis involved in "Evidence for widespread class II microcins in Enterobacterales genomes"
Jupyter Notebook
3
star
20

wilkelab.github.io

HTML
2
star
21

influenza_H3N2_passaging

Data and code for McWhite et al., Sequence amplification via cell passaging creates spurious signals of positive adaptation in influenza virus H3N2 hemagglutinin, Virus Evolution (2016)
HyPhy
2
star
22

complex_divergence_simul

Code and data for PPI simulation part of Kachroo et al., Systematic humanization of yeast genes reveals conserved functions and genetic modularity. Science 348:921–925, 2015
R
2
star
23

eGFP_deletion_prediction

R
1
star
24

rate_variability_variation

Code and data for Jackson et al., Intermediate divergence levels maximize the strength of structure–sequence correlations in enzymes and viral proteins, Protein Science, in press.
Python
1
star
25

MACV_TfR1_modeling

R
1
star
26

influenza_codon_usage

Data and code for Smith et al., Avian Influenza Virus PB1 Gene in H3N2 Viruses Evolved in Humans To Reduce Interferon Inhibition by Skewing Codon Usage toward Interferon-Altered tRNA Pools, mBio 2018
Python
1
star
27

therm_constraints_rate_variation

Code and data for Echave et al., Relationship between protein thermodynamic constraints and variation of evolutionary rates among sites, Phys. Biol. 12:025002, 2015.
Python
1
star