stereo.plots.PlotCollection.interact_annotation_cluster¶
- PlotCollection.interact_annotation_cluster(res_cluster_key, res_marker_gene_key, res_key, inline=True, width=700, height=500)[source]¶
Interactive spatial scatter after clustering.
- Parameters:
res_cluster_key (
str) – the result key of annotation.res_marker_gene_key (
str) – the result key of marker genes.res_key (
str) – the key for getting the result from theself.result.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.