pointillise: Make a pointillist ggplot2 object

Description Usage Arguments Value Examples

Description

Make a pointillist ggplot2 object

Usage

1
pointillise(img_df, point_range = c(1, 2))

Arguments

img_df

A tidy data frame - output from img_df()

point_range

Numeric vector defining the min and max point size

Value

a ggplot2 object

Examples

1
2
3
4
5
6
7
img_path <- system.file("extdata/images", "seurat.png", package = "pointillist")

png_df <- img_df(img_path)
png_df <- colour_depth(png_df, 8)
png_df_sample <- sample_df(png_df, 0.3)
seurat <- pointillise(png_df_sample)
seurat

alexwhan/pointillist documentation built on May 10, 2019, 8:58 a.m.