scglue.models.scglue.SCGLUEModel.decode_data

SCGLUEModel.decode_data(source_key, target_key, adata, graph, target_libsize=None, target_batch=None, batch_size=128)[source]

Decode data

Parameters:
  • source_key (str) – Source modality key

  • target_key (str) – Target modality key

  • adata (AnnData) – Source modality data

  • graph (Graph) – Guidance graph

  • target_libsize (typing.Union[float, numpy.ndarray, None]) – Target modality library size, by default 1.0

  • target_batch (typing.Optional[numpy.ndarray]) – Target modality batch, by default batch 0

  • batch_size (int) – Size of minibatches

Return type:

numpy.ndarray

Returns:

decoded – Decoded data

Note

This is EXPERIMENTAL!