bento.pl.lp_dist

bento.pl.lp_dist(sdata, show_counts='', show_percentages='{:.1%}', scale=1, fname=None)

Plot pattern combination frequencies as an UpSet plot.

Parameters:
  • sdata (SpatialData) – Spatial formatted SpatialData

  • show_counts (str, optional) – Format count labels with this string, do not show counts if empty, by default “”

  • show_percentages (str, optional) – Format count labels with this string, do not show counts if empty, by default “”

  • scale (int, optional) – scale > 1 scales the plot larger, scale < 1 scales. the plot smaller, by default 1

  • fname (str, optional) – Save the figure to specified filename, by default None