powered by
Creates a plot of scatter plot of genes across two single cells. Pearson correlation between the two cells is displayed above the plot.
CellPlot(object, cell1, cell2, gene.ids = NULL, col.use = "black", nrpoints.use = Inf, pch.use = 16, cex.use = 0.5, do.hover = FALSE, do.identify = FALSE, ...)
Seurat object
Cell 1 name (can also be a number, representing the position in object@cell.names)
Cell 2 name (can also be a number, representing the position in object@cell.names)
Genes to plot (default, all genes)
Colors to use for the points
Parameter for smoothScatter
Point symbol to use
Point size
Enable hovering over points to view information
Opens a locator session to identify clusters of cells. points to reveal gene names (hit ESC to stop)
Additional arguments to pass to smoothScatter
No return value (plots a scatter plot)
# NOT RUN { CellPlot(object = pbmc_small, cell1 = 'ATAGGAGAAACAGA', cell2 = 'CATCAGGATGCACA') # }
Run the code above in your browser using DataLab