Tools

Tools#

tl.boundaries(adata[, cluster_key, ...])

Compute the topological boundaries of sets of cells.

tl.Cluster([n_clusters, covariance_type, ...])

Cluster cells or spots based on the neighborhood aggregated features from CellCharter.

tl.ClusterAutoK(n_clusters[, max_runs, ...])

Identify the best candidates for the number of clusters.

tl.curl(adata[, cluster_key, out_key, copy])

Compute the curl score of the topological boundaries of sets of cells.

tl.elongation(adata[, cluster_key, out_key, ...])

Compute the elongation of the topological boundaries of sets of cells.

tl.linearity(adata[, cluster_key, out_key, ...])

Compute the linearity of the topological boundaries of sets of cells.

tl.purity(adata[, cluster_key, library_key, ...])

Compute the purity of the topological boundaries of sets of cells.

tl.TRVAE(adata[, condition_key, conditions, ...])