flowsom.pl.plot_variable

Contents

flowsom.pl.plot_variable#

flowsom.pl.plot_variable(fsom, variable, cmap=<matplotlib.colors.LinearSegmentedColormap object>, labels=None, text_size=5, text_color='black', lim=None, title=None, categorical=True, **kwargs)#

Plot FlowSOM grid or tree, colored by node values given in variable.

Parameters:
  • fsom (FlowSOM) – A FlowSOM object

  • variable (np.array) – An array containing a value for every cluster

  • cmap (default: <matplotlib.colors.LinearSegmentedColormap object at 0x75d3ef953760>) – A colormap to use

  • lim (tuple) – Limits for the color scale

  • title (str) – Title of the plot