Description Usage Arguments Value Examples
Make a pointillist ggplot2 object
1 | pointillise(img_df, point_range = c(1, 2))
|
img_df |
A tidy data frame - output from |
point_range |
Numeric vector defining the min and max point size |
a ggplot2 object
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.