scispace - formally typeset
Open AccessBook

ggplot2: Elegant Graphics for Data Analysis

Reads0
Chats0
TLDR
This book describes ggplot2, a new data visualization package for R that uses the insights from Leland Wilkisons Grammar of Graphics to create a powerful and flexible system for creating data graphics.
Abstract
This book describes ggplot2, a new data visualization package for R that uses the insights from Leland Wilkisons Grammar of Graphics to create a powerful and flexible system for creating data graphics. With ggplot2, its easy to: produce handsome, publication-quality plots, with automatic legends created from the plot specification superpose multiple layers (points, lines, maps, tiles, box plots to name a few) from different data sources, with automatically adjusted common scales add customisable smoothers that use the powerful modelling capabilities of R, such as loess, linear models, generalised additive models and robust regression save any ggplot2 plot (or part thereof) for later modification or reuse create custom themes that capture in-house or journal style requirements, and that can easily be applied to multiple plots approach your graph from a visual perspective, thinking about how each component of the data is represented on the final plot. This book will be useful to everyone who has struggled with displaying their data in an informative and attractive way. You will need some basic knowledge of R (i.e. you should be able to get your data into R), but ggplot2 is a mini-language specifically tailored for producing graphics, and youll learn everything you need in the book. After reading this book youll be able to produce graphics customized precisely for your problems,and youll find it easy to get graphics out of your head and on to the screen or page.

read more

Content maybe subject to copyright    Report

Citations
More filters
Journal ArticleDOI

UMAP reveals cryptic population structure and phenotype heterogeneity in large genomic cohorts.

TL;DR: Uniform manifold approximation and projection (UMAP), a non-linear dimension reduction tool, is applied to three well-studied genotype datasets and discover overlooked subpopulations within the American Hispanic population, fine-scale relationships between geography, genotypes, and phenotypes in the UK population, and cryptic structure in the Thousand Genomes Project data.
Journal ArticleDOI

The Effects of Climate Change on GDP by Country and the Global Economic Gains From Complying With the Paris Climate Accord

TL;DR: In this article, the authors extend a large dimensional intertemporal CGE trade model to account for the various effects of global warming (e.g., loss in agricultural productivity, sea level rise, and health effects) on Gross Domestic Product (GDP) growth and levels for 139 countries, by decade and over the long term.
Journal ArticleDOI

RNAi screens in mice identify physiological regulators of oncogenic growth.

TL;DR: Focusing on skin development and oncogenic (HrasG12V-induced) hyperplasia, these screens uncover previously unknown as well as anticipated regulators of embryonic epidermal growth and validate functional significance in mouse and human cancers, establishing the feasibility of in vivo mammalian genome-wide investigations to dissect tissue development and tumorigenesis.
Journal ArticleDOI

Strain-resolved analysis of hospital rooms and infants reveals overlap between the human and room microbiome.

TL;DR: A genome-resolved metagenomic study of microbial genotypes from the gastrointestinal tracts of infants and from the neonatal intensive care unit (NICU) room environment concludes that a component of premature infant gut colonization is the cycle of microbial exchange between the room and the occupant.
Related Papers (5)