Tools#
|
Compute the number of unique clones per group and optionally plot. |
|
Compute a diversity index (e.g., Shannon entropy) per group. |
|
Aggregate clone counts and frequencies per group. |
|
Cluster a list of CDR3 nucleotide sequences based on sequence identity. |
Process a grouped BCR dataframe to assign clusters and neighbor counts. |
|
|
Cluster BCR sequences across an entire dataset and compute neighbor degrees. |
Compute Shannon entropy of a probability vector. |
|
Compute normalized Shannon entropy (range 0-1). |
|
|
Compute clonality metric from Shannon entropy. |
|
Calculate the Rényi entropy for a given probability distribution and alpha. |
|
Compute Gini index of a distribution. |
|
Compute clonal family diversification (Gini index of clone sizes per sample). |
|
Compute migration index between spatial clusters for BCR clones. |
|
Calculate spatial niche composition around a target BCR clone. |
|
Compute per-group clone counts and per-spatial-location clone counts. |
|
Compute per-group and per-spatial-location UMI counts for clones. |
|
Filter dataframe by minimum clone count. |
|
Filter dataframe by minimum spatial clone count. |
|
Filter dataframe by minimum UMI count per clone. |
|
Filter dataframe by minimum spatial UMI count per clone. |
|
Calculate the CDR3 length for each clone and optionally plot the distribution. |