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])
https://user-images.githubusercontent.com/31883718/69626334-b6df5200-1048-11ea-9171-495845c5bc7a.png
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