Creates a scatter plot of two features (typically gene expression), across a set of single cells. Cells are colored by their identity class.
GenePlot(object, gene1, gene2, cell.ids = NULL, col.use = NULL,
pch.use = 16, cex.use = 1.5, use.imputed = FALSE, do.ident = FALSE,
do.spline = FALSE, spline.span = 0.75, ...)
Seurat object
First feature to plot. Typically gene expression but can also be metrics, PC scores, etc. - anything that can be retreived with FetchData
Second feature to plot.
Cells to include on the scatter plot.
Colors to use for identity class plotting.
Pch argument for plotting
Cex argument for plotting
Use imputed values for gene expression (Default is FALSE)
False by default. If TRUE,
Add a spline (currently hardwired to df=4, to be improved)
spline span in loess function call
Additional arguments to be passed to plot.
No return, only graphical output