scglue.models.scglue.SCGLUEModel.decode_data

SCGLUEModel.decode_data(source_key, target_key, adata, graph, edge_weight='weight', edge_sign='sign', target_libsize=None, target_batch=None, batch_size=128)[source]

Decode data

Parameters
  • source_key (str) – Source domain key

  • target_key (str) – Target domain key

  • adata (AnnData) – Source domain data

  • graph (Graph) – Prior graph

  • edge_weight (str) – Key of edge attribute for edge weight

  • edge_sign (str) – Key of edge attribute for edge sign

  • target_libsize (Union[float, ndarray, None]) – Target domain library size, by default 1.0

  • target_batch (Optional[ndarray]) – Target domain batch, by default batch 0

  • batch_size (int) – Size of minibatches

Return type

ndarray

Returns

decoded – Decoded data

Note

This is EXPERIMENTAL!