post_ph_functions-checkpoint
Functions
|
Computes a threshold score for spatial variability. |
Module Contents
- post_ph_functions-checkpoint.find_knee(v: pandas.Series) float
Computes a threshold score for spatial variability.
Takes in a Series v of spatial structrue scores and returns a cutoff point to use for deciding which genes are spatially variable. To be called by compute_persistence.run_persistence().
- Parameters:
v (pd.Series) – Series of CoSS’s.
- Returns:
Threshold for declaring a gene to be Spatially Variable.
- Return type:
float