Learn R Programming

PRECAST (version 1.6.5)

plot_RGB: Spatial RGB heatmap

Description

Plot spatial RGB heatmap.

Usage

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

Value

Return a ggplot2 object.

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.

Author

Wei Liu

Details

Nothing

See Also

None