stereo.plots.PlotCollection.interact_cluster#
- PlotCollection.interact_cluster(res_key, inline=True, width=700, height=500)[source]#
Interactive spatial scatter after clustering.
- Parameters:
res_key (
str
) – the result key of clustering.inline (
Optional
[bool
]) – show in notebook.width (
Optional
[int
]) – the figure width.height (
Optional
[int
]) – the figure height.reorganize_coordinate –
if the data is merged from several slices, whether to reorganize the coordinates of the obs(cells), if set it to a number, like 2, the coordinates will be reorganized to 2 columns on coordinate system as below:
data1 data2data3 data4data5 …… …if set it to
False
, the coordinates will not be changed.horizontal_offset_additional – the additional offset between each slice on horizontal direction while reorganizing coordinates.
vertical_offset_additional – the additional offset between each slice on vertical direction while reorganizing coordinates.