stereo.plots.PlotCoOccurrence.co_occurrence_plot#

PlotCoOccurrence.co_occurrence_plot(groups=[], width=None, height=None, res_key='co_occurrence')[source]#

Visualize the co-occurence by line plot; each subplot represent a celltype, each line in subplot represent the co-occurence value of the pairwise celltype as the distance range grow.

Parameters:
  • groups – Choose a few cluster to plot, plot all clusters by default.

  • width – the figure width.

  • height – the figure height.

  • res_key – The key to store co-occurence result in data.tl.result