Plot interactive 3D spatial plot
plotInteractive3D(
gobject,
spat_unit = "cell",
feat_type = "rna",
cell_color = "leiden_clus",
cell_color_code = NULL,
point_size = 0.5,
width = "100%",
height = "400px"
)
giotto object
spatial unit (e.g. "cell")
feature type (e.g. "rna", "dna", "protein")
character. What to color cells by (e.g. metadata col or spatial enrichment col)
character. discrete colors to use. Palette to use or named vector of colors
size of point (cell)
plot width
plot height
data.table with selected cell_IDs, spatial coordinates, and cluster_ID.