scglue.models.scglue.SCGLUEModel.classify_data

SCGLUEModel.classify_data(key, adata, batch_size=128)[source]

Obtain cell type classification

Parameters:
  • key (str) – Modality key

  • adata (AnnData) – Input dataset

  • batch_size (int) – Size of minibatches

Return type:

DataFrame

Returns:

data_class – Cell type classification with shape \(n_{cell} \times n_{classes}\)