powered by
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 )
Seurat object
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 NULL which will automatically use raster if the number of points plotted is greater than 100,000
NULL
A ggplot object
# NOT RUN { data("pbmc_small") CellScatter(object = pbmc_small, cell1 = 'ATAGGAGAAACAGA', cell2 = 'CATCAGGATGCACA') # }
Run the code above in your browser using DataLab