scSLAT.model.utils

Useful functions

Functions

add_noise

Add poisson or negative binomial noise on raw counts also run scanpy pipeline to PCA step

calc_k_neighbor

cal k nearest neighbor

run_LGCN

Run LGCN model

run_SLAT

Run SLAT model

run_SLAT_multi

Run SLAT on multi-dataset for 3D re-construct

spatial_match

Use embedding to match cells from different datasets based on cosine similarity