API
Import Monkeybread as:
import monkeybread as mb
Calculations: calc
|
Detects contact between two groups of cells. |
|
Detects transcripts in proximity or inside a given list of cells. |
|
Calculates kernel density estimation on large cell quantities. |
|
Calculates the distance from each cell in one group to the nearest cell in another group. |
|
Calculates a neighborhood profile for each cell. |
|
Calculates scores for ligand-receptor pairs in contacting cells. |
Plotting: plot
|
Shows embeddings of cells in contact. |
|
Plots a histogram highlighting the observed cell contact compared to permutations. |
|
Produces a heatmap highlighting cell contact between groups in a pairwise manner. |
|
Plots cell boundaries and optionally transcripts in the surrounding area. |
|
Plots the results of |
|
Plots the results of shortest distances calculations in histogram format. |
|
Shows a filtered embedding, allowing for examination of specific cells. |
|
Shows embeddings of cells in contact with zoomed focus. |
|
Plots a scatterplot highlighting the observed ligand-receptor scores and significance. |
Statistical Tests: stat
|
Calculates expected cell contact and p-value using a permutation test. |
|
Calculates an expected distribution of shortest distances via permutation of labels. |
|
Calculates statistical significance of ligand-receptor pairs in contacting cells. |
Utility Functions: util
|
Loads data from MERSCOPE, in accordance to the folder structure of the FFPE data release. |
|
Randomizes positions within a given radius. |
|
Subsets cells based on gene expression and optionally labels them. |
|
Counts contact observed by |