Creates a plot of scatter plot of features across two single cells. Pearson correlation between the two cells is displayed above the plot.
CellScatter( object, cell1, cell2, features = NULL, highlight = NULL, cols = NULL, pt.size = 1, smooth = FALSE, raster = NULL, raster.dpi = c(512, 512) )
Cell 1 name
Cell 2 name
Features to plot (default, all features)
Features to highlight
Colors to use for identity class plotting.
Size of the points on the plot
Smooth the graph (similar to smoothScatter)
Convert points to raster format, default is
which will automatically use raster if the number of points plotted is greater than
Pixel resolution for rasterized plots, passed to geom_scattermore(). Default is c(512, 512).
A ggplot object
data("pbmc_small") CellScatter(object = pbmc_small, cell1 = 'ATAGGAGAAACAGA', cell2 = 'CATCAGGATGCACA')