stereo.algorithm.ms_spa_track.MSSpaTrack.generate_animate_input

MSSpaTrack.generate_animate_input(data_indices=None, time_key='batch')[source]

Generate animate transfer input of two or more times.

Parameters:
  • data_indices (Optional[List[Union[str, int]]]) – A list of indices or names in the ms_data of the data, must be the same as the data used to calculate transfer matrix.

  • time_key (str) – time Key in data.cells or data.adata.obs, defaults to ‘batch’.