Tools: tl
#
This module provides various tools for analyzing proteomics data.
Clustering#
Find optimal leiden clustering resolution based on mitochondrial protein clustering. |
|
Annotate proteins based on their k-nearest neighbors. |
|
Calculate interfacialness scores for proteins based on their neighborhood annotations. |
|
Get n nearest neighbors up to a specified order. |
|
Calculate silhouette scores for clustered data. |
|
Calculate Calinski-Harabasz score for clustered data. |
|
Train the TAGM MAP model on an AnnData object. |
|
Predict subcellular localization for unknown proteins using MAP parameters. |
Enrichment#
Calculate cluster enrichment using gseapy. |
Integration#
Align multiple AnnData objects by intersecting their observations and variables. |
|
Calculate aligned UMAP embeddings for multiple datasets. |
|
Get aligned UMAP embeddings from each AnnData object. |