scalex.plot.plot_meta2

scalex.plot.plot_meta2(adata, use_rep='latent', color='celltype', batch='batch', color_map=None, figsize=(10, 10), cmap='Blues', batches=None, annot=False, save=None, cbar=True, keep=False, fontsize=8, vmin=0, vmax=1)

Plot meta correlations between two 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