scalex.plot.plot_meta

scalex.plot.plot_meta(adata, use_rep=None, color='celltype', batch='batch', colors=None, cmap='Blues', vmax=1, vmin=0, mask=True, annot=False, save=None, fontsize=8)

Plot meta correlations among batches

Parameters:
  • adata – AnnData

  • use_rep – the cell representations or embeddings used to calculate the correlations, default is latent generated by SCALE v2

  • batch – the meta information based-on, default is batch

  • colors – colors for each batch

  • cmap – color map for information to be shown

  • vmax – max value

  • vmin – min value

  • mask – value to be masked

  • annot – show specific values

  • save – save the figure

  • fontsize – font size