The function plot_RGB
is used to plot spatial RGB heatmap.
Usage
plot_RGB(position, embed_3d, pointsize = 2, ...)
Arguments
- position
A two columns matrix or data.fram, provides the coordinates information.
- embed_3d
A three columns matrix or data.fram, provides the rgb information.
- pointsize
The size of point in the scatter plot.
- ...
Arguments passed to other methods.
Value
Returns a RGB plot.
Examples
data(iSCMEBObj_toy)
#> Warning: data set 'iSCMEBObj_toy' not found
library(Seurat)
position <- iSCMEBObj_toy@posList[[1]]
tsne3 <- iSCMEBObj_toy@resList@reduction$TSNE3[[1]]
p1 <- plot_RGB(position, tsne3)