cellrank
cellrank copied to clipboard
Minor quality of life improvements
Got 3 changes to the API I'd like make:
- make
__repr__
and__str__
be the same (or swap them); this means that we don't have to runprint(ck)
to show the parameters, justck
I'd do this for both kernels and estimators; alternatively we can just swap them - return
self
in most of the estimators' methods so that we can chain function calls, e.g.g.fit().predict()
org.compute_schur().compute_macrostates().set_terminal_states().compute_absorption_probabilites()
- improve TermStatesEstimator repr by including
#term states
there + include#macrotates
for GPCCA
Sounds good!