API
CCIData Class
|
Class to store and manage Cell-Cell Interaction (CCI) data |
Integration
|
Identifies the LR pairs present in a list of samples according to the given method. |
|
Calculates the scale factors for normalizing matrices between different platforms. |
|
Integrates a list of samples into a single sample per lr pair. |
|
Integrates a list of samples that are single networks into a single network. |
Analysis
|
Calculates a dissimilarity score between two samples for each common LR pair. |
|
Calculates the difference between two networks. |
|
Groups ligand-receptor (LR) pairs into clusters based on their interaction network similarity. |
|
Clustering of spatial LR interaction scores on AnnData objects processed through stLearn. |
|
Runs GSEA analysis on a sample. |
|
Subsets a sample to only include interactions between genes in a set of pathways. |
|
Adds a module score to an AnnData object run through stLearn based on the interactions in a list of ligand-receptor pairs. |
Scoring
|
Calculates a dissimilarity score between two matrices. |
|
Multiply non-zero values across a list of pandas DataFrames. |
Plotting
|
Plots a network with optional edge significance highlighting and node coloring based on in-degree and out-degree difference. |
|
Plots a chord plot of a network |
|
Plots a histogram of dissimilarity scores. |
|
Plots a bar plot of LR pairs with highest/lowest dissimilarity scores. |
|
Plots a bar plot of LR pairs and their proportions for a sample. |
|
Plots a bar plot of LR pairs and their proportions for a sender and receiver cell type pair along with p_values (optional). |
IO
|
Reads a stLearn ligand-receptor analysis output and converts it to a CCIData object. |
|
Reads a stLearn ligand-receptor analysis output and converts it to a CCIData object. |
|
Reads a CellPhoneDB interaction scores txt file and converts it to a CCIDataobject. |
|
Reads a Squidpy ligand-receptor analysis output and converts it to a CCIData object. |
|
Reads a CellChat ligand-receptor analysis output (cellchat@dr) and converts it to a CCIData object. |
|
Reads a NATMI ligand-receptor analysis output (Edges_lrc2p.csv) and converts it to a CCIData object. |
|
Loads a CCIData object from JSON or pickle file. |
|
Loads a single network from a csv file. |
|
Create CCIData object from a dictionary. |