| DensityScatter {Signac} | R Documentation | 
Scatterplot colored by point density
Description
Create a scatterplot using variables in the object metadata and color cells by the density of points in the x-y space.
Usage
DensityScatter(object, x, y, log_x = FALSE, log_y = FALSE, quantiles = NULL)
Arguments
| object | A Seurat object | 
| x | Name of metadata variable to plot on x axis | 
| y | Name of metadata variable to plot on y axis | 
| log_x | log10 transform x values | 
| log_y | log10 transform y values | 
| quantiles | Vector of quantiles to display
for x and y data distribution. Must be integer values
between 0 and 100.
TRUE can be passed as a shorthand way to set
 | 
Value
Returns a ggplot object
[Package Signac version 1.13.0 Index]