Tools tl#
Analysis tools for clustering seqlets and pattern discovery.
|
Embed seqlets with PCA and t-SNE and cluster them with Leiden. |
|
Generate aligned PWM patterns from seqlet clusters using stored data. |
|
Discover co-occurring motif patterns using topic modeling on region-level data. |
|
Evaluate multiple topic models to find optimal number of topics. |
|
Predict TF family for each seqlet by projecting into a reference motif PCA space. |
|
Aggregate per-seqlet embeddings into per-region embeddings and return a region AnnData. |
|
Compute a t-SNE embedding of region_adata.X and store it in obsm['TSNE']. |
|
Run Leiden clustering on a region AnnData object and store results in obs['leiden']. |
|
Find the optimal hierarchical clustering of regions using cell types as ground truth. |
|
Compute row-max-normalised motif contribution profiles per region cluster. |
|
Pivot per-seqlet metadata into a cell type x annotation enhancer code table. |
|
Correlate enhancer code values with TF expression across cell types. |