An open API service indexing awesome lists of open source software.

https://github.com/walterxie/gg1l

R plot using one-line function derived from ggplot2
https://github.com/walterxie/gg1l

ggplot2 r visualization

Last synced: 3 months ago
JSON representation

R plot using one-line function derived from ggplot2

Awesome Lists containing this project

README

        

# R Plot Using One-line Function Derived From ggplot2

Author: [Dong Xie](https://www.cs.auckland.ac.nz/~walter/)

## Use my time to save your time

This package wraps ggplot2’s code into one-line functions making plot easy.
It also includes some tips and smart code collected from the Internet
to improve plotting,
and few visualisation methods derived from my previous and current works.

## Installation

You can use the **devtools::install\_github()** function to install the latest release directly from the GitHub:
```R
library(devtools)
devtools::install_github("walterxie/gg1L@*release")
library(gg1L)
```

Or a perticular release version:
```R
devtools::install_github("walterxie/[email protected]")
```

Or the latest development version:
```R
devtools::install_github("walterxie/gg1L")
```

Read the package introduction:
```R
package?gg1L
```

To see all exported functions:
```R
help(package = "gg1L")
```

## Tutorials

1. [Bar chart (including taxonomy abundance bar chart, adding values, lines, and error bars)](https://cdn.rawgit.com/walterxie/gg1L/master/tutorials/OneLinePlotBarChart.html)

2. [Line with points (NMDS, PCoA, PCA)](https://cdn.rawgit.com/walterxie/gg1L/master/tutorials/OneLinePlotPointsLines.html)

3. [Tracer R](https://cdn.rawgit.com/walterxie/gg1L/master/tutorials/OneLinePlotTracerR.html)

4. [The rest (Whiskers plot, heatmap, multiple plots)](https://cdn.rawgit.com/walterxie/gg1L/master/tutorials/OneLinePlot.html)