Colors single cells on a dimensional reduction plot according to a 'feature' (i.e. gene expression, PC scores, number of genes detected, etc.)
FeaturePlot(object, features.plot, dim.1 = 1, dim.2 = 2, cells.use = NULL,
pt.size = 1, cols.use = c("yellow", "red"), pch.use = 16,
reduction.use = "tsne", use.imputed = FALSE, nCol = NULL,
no.axes = FALSE, no.legend = TRUE)
Seurat object
Vector of features to plot
Dimension for x-axis (default 1)
Dimension for y-axis (default 2)
Vector of cells to plot (default is all cells)
Adjust point size for plotting
The two colors to form the gradient over. Provide as string vector with the first color corresponding to low values, the second to high. Also accepts a Brewer color scale or vector of colors. Note: this will bin the data into number of colors provided.
Pch for plotting
Which dimensionality reduction to use. Default is "tsne", can also be "pca", or "ica", assuming these are precomputed.
Use imputed values for gene expression (default is FALSE)
Number of columns to use when plotting multiple features.
Remove axis labels
Remove legend from the graph. Default is TRUE.
No return value, only a graphical output