AutoPointSize: Automagically calculate a point size for ggplot2-based...

Description Usage Arguments Value Examples

View source: R/visualization.R

Description

It happens to look good

Usage

1
AutoPointSize(data, raster = NULL)

Arguments

data

A data frame being passed to ggplot2

raster

If TRUE, point size is set to 1

Value

The "optimal" point size for visualizing these data

Examples

1
2
df <- data.frame(x = rnorm(n = 10000), y = runif(n = 10000))
AutoPointSize(data = df)

mrod0101/seurat documentation built on March 2, 2022, 12:17 a.m.