Description Usage Arguments Value Examples
View source: R/visualization.R
Creates a plot of scatter plot of features across two single cells. Pearson correlation between the two cells is displayed above the plot.
1 2 3 4 5 6 7 8 9 10 11 12  | 
object | 
 Seurat object  | 
cell1 | 
 Cell 1 name  | 
cell2 | 
 Cell 2 name  | 
features | 
 Features to plot (default, all features)  | 
highlight | 
 Features to highlight  | 
cols | 
 Colors to use for identity class plotting.  | 
pt.size | 
 Size of the points on the plot  | 
smooth | 
 Smooth the graph (similar to smoothScatter)  | 
raster | 
 Convert points to raster format, default is   | 
raster.dpi | 
 Pixel resolution for rasterized plots, passed to geom_scattermore(). Default is c(512, 512).  | 
A ggplot object
1 2  | data("pbmc_small")
CellScatter(object = pbmc_small, cell1 = 'ATAGGAGAAACAGA', cell2 = 'CATCAGGATGCACA')
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.