API¶
Import SINFONIA:
import sinfonia
statistics¶
|
Identify spatially variable genes by SINFONIA. |
utils¶
|
Set random seed. |
|
Tune the resolution parameter in clustering to make the number of clusters and the specified number as close as possible. |
metrics¶
|
Evaluate clustering performance. |
|
Evaluate mean average precision. |
Evaluate mean cross-validation accuracy. |