Plot spatial RGB heatmap.

plot_RGB(position, embed_3d, pointsize=2,textsize=15)

Arguments

position

a coordinates matrix with two columns: x-coordinate and y-coordinate.

embed_3d

a embedding matrix with three columns: x, y and z embeddings.

pointsize

the size of point in the scatter plot.

textsize

the text size in the plot.

Details

Nothing

Value

Return a ggplot2 object.

Author

Wei Liu

Note

nothing

See also

None