cellrank.tl.kernels.VelocityKernel.write_to_adata¶
-
VelocityKernel.
write_to_adata
(key=None)¶ Write the transition matrix and parameters used for computation to the underlying
adata
object.- Parameters
key¶ (
Optional
[str
]) – Key used when writing transition matrix toadata
. If None, thekey
is set to ‘T_bwd’ ifbackward
is True, else ‘T_fwd’.- Returns
Updates the
adata
with the following fields:.obsp['{key}']
- the transition matrix..uns['{key}_params']
- parameters used for calculation.
- Return type