API
Import symphonypy as:
import symphonypy as sp
Preprocessing
|
Run Harmony batch correction on adata, save corrected output to |
Tools
|
Actually runs Symphony algorithm for mapping |
|
Run sklearn kNN classifier for label transferring. |
|
Calculates the weighted Mahalanobis distance for query cells to reference clusters. |
|
Calculates the Mahalanobis distance from user-defined query clusters to their nearest reference centroid after initial projection into reference PCA space. |
|
Copied from https://github.com/scverse/scanpy/blob/master/scanpy/tools/_ingest.py with little change that var_names equality between adata and adata_new wouldn't be check if needless, and additional parameter |
|
Run openTSNE dimension reduction on adata if |