Tools: tl

Contents

Tools: tl#

Functions#

Mainly wrappers for embedding functions from scanpy and rapids_singlecell. Contains a function to set backend between CPU (scanpy) and GPU (rapids_singlecell).

tl.set_backend

Set the backend to use for processing.

tl.pca

Perform principal components analysis.

tl.umap

Perform UMAP.

tl.tsne

Perform t-SNE.

tl.harmony

Performs HarmonyPy batch correction.

tl.cluster_embeddings

Perform Phenograph or Scanpy clustering on an .obsm embedding within an AnnData object.

tl.cluster_scores

Assess the quality of clustering results by computing a pairwise clustering score between every other clustering run.