glow

A package for making glow-y plots

The glow package is a framework for creating plots with glowing points as an alternative way of plotting large point clouds.

Installation

remotes::install_github("traversc/glow")

Some advantages over traditional techniques

Usage

Creating a glow plot is done through the GlowMapper or GlowMapper4 classes, which utilize the R6 class framework.

The class function $map creates a raster that can be plotted with ggplot’s geom_raster or output directly using the EBImage library.

See the help files and inst/examples/notes.txt for more information on each example.

ggplot example using the diamonds dataset

Writing a raster image directly

Instead of using ggplot, you can also output a raster image directly using the EBImage Bioconductor library.