scvelo.tl.velocity_confidence
- scvelo.tl.velocity_confidence(data, vkey='velocity', copy=False)
Computes confidences of velocities.
scv.tl.velocity_confidence(adata) scv.pl.scatter(adata, color="velocity_confidence", perc=[2, 98])
- Parameters:
data (
AnnData) – Annotated data matrix.vkey (str (default: ‘velocity’)) – Name of velocity estimates to be used.
copy (bool (default: False)) – Return a copy instead of writing to adata.
Returns
-------
velocity_length (.obs) – Length of the velocity vectors for each individual cell
velocity_confidence (.obs) – Confidence for each cell