Graph output of a dimensional reduction technique on a 2D scatter plot where each point is a cell or feature and it's positioned based on the coembeddings determined by the reduction technique. By default, cells and their signature features are colored by their identity class (can be changed with the group.by parameter).
a Seurat object with coembedding in the reductions slot wiht component name reduction.
a string, specify the reduction component that denotes coembedding.
a data.frame object with columns indcluding `gene` and `label`, specify the cell type/spatial domain and signature genes. Default as NULL, all features will be used in comebeddings.
an optional character in columns of metadata, specify the group of cells/spots. Default as NULL, use Idents as the group.
an optional character, specify the names of x and y-axis, default as the same as reduction.
a postive integer vector with length 2, specify the two components for visualization.
an optional string vector, specify the colors for cell group in visualization.
a positive integers with length 2, specify the shapes of cell/spot and feature in plot.
an optional integer, specify the point size, default as 1.
an optional integer, specify the point size of text, default as 5.
an optional integer, specify the basic size.
an optional character, specify the font.
an optional integer, specify the point size of legend.
an optional integer, specify the size of legend key.
an optional positive real, range from 0 to 1, specify the transparancy of points.
return a ggplot object
None
None