tangram.plot_utils.plot_auc

tangram.plot_utils.plot_auc(df_all_genes, test_genes=None)

Plots auc curve which is used to evaluate model performance.

Parameters
  • df_all_genes (Pandas dataframe) – returned by compare_spatial_geneexp(adata_ge, adata_sp);

  • test_genes (list) – list of test genes, if not given, test_genes will be set to genes where ‘is_training’ field is False

Returns

None