API#

Import SpaRCL as:

import SpaRCL as rcl

spatial_reconstruction(adata[, alpha, ...])

Spatial reconstruction of gene expression matrix.

reference_centers(adata, n_centers[, ...])

Select reference centers for mini-batch relational contrastive learning.

run_RCL(adata[, beta, tol_err, n_iters, ...])

Relational Contrastive Learning for spatial transcriptomics.

run_RCL_minibatch(adata[, beta, tol_err, ...])

Mini-batch Relational Contrastive Learning for large-scale spatial transcriptomics.

expression_denoising(adata[, relation_key])

Denoise the gene expression matrix using gene relation matrix.

regulons(adata[, tf_names, ...])

Regulon inference for spatial transcriptomics [Aibar17].

aucell(adata[, auc_threshold, noweights, ...])

Compute the regulon activity AUCell matrix [Aibar17].