evolocity.tl.residue_scores¶
-
evolocity.tl.
residue_scores
(adata, basis='onehot', scale=1.0, key='residue_scores', copy=False)¶ Score mutations by associated evolocity.
Requires running
evo.tl.onehot_msa
first.- Parameters
- adata :
Anndata
Annoated data matrix.
- basis : str (default: ‘onehot’)
Name of one-hot embedding
- scale : float (default: 1.)
Scale parameter of gaussian kernel for transition matrix.
- key : str (default: ‘residue_scores’)
Name at which to place scores.
- copy : bool (default: False)
Return a copy instead of writing to adata.
- adata :
- Returns
Returns or updates adata with the attributes
residue_scores (.uns) – per-residue velocity scores