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
- Host: GitHub
- URL: https://github.com/walterxie/gg1l
- Owner: walterxie
- License: mit
- Created: 2017-02-10T01:08:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-09T04:26:45.000Z (about 8 years ago)
- Last Synced: 2025-02-02T02:28:00.346Z (5 months ago)
- Topics: ggplot2, r, visualization
- Language: HTML
- Homepage:
- Size: 11.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)