dimPlot.Rd
Low-dimensional embeddings' plot colored by a specified meta data in the Seurat object.
dimPlot(seuInt, item=NULL, reduction=NULL, point_size=1,text_size=16,
cols=NULL,font_family='', border_col="gray10",
fill_col="white", ...)
an object named "Seurat".
the item used for coloring the plot in the meta data of seuInt object.
the reduction used for plot in the seuInt object. If reduction is null, the last added one is used for plotting.
the size of point in the scatter plot.
the text size in the plot.
colors used in the plot
the font family used for the plot.
the border color in the plot.
the color used in backgroup.
other arguments passed to plot_scatter
.
Nothing
Return a ggplot2 object.
nothing
None
data(PRECASTObj)
PRECASTObj <- SelectModel(PRECASTObj)
seuInt <- IntegrateSpaData(PRECASTObj, species='unknown')
#> Using only PRECAST results to obtain the batch corrected gene expressions since species is unknown or the genelist in PRECASTObj has less than 5 overlapp with the housekeeping genes of given species.
dimPlot(seuInt, reduction = 'PRECAST')
## or use the Seurat::DimPlot(seuInt, reduction = 'PRECAST')