API
Import MESA as:
import mesa as ms
Multiomics
Compute k-nearest neighbors of locations. |
|
|
Compute the composition of neighbors for each sample. |
|
Calculate the average expression values over the neighbors of each data point. :type exp_df: |
Ecospatial
|
Generate a list of patches from a spatial data object. |
Calculate the Shannon entropy of a set of counts. |
|
|
Calculate the heterogeneity index for a set of patches. |
|
This function visualizes the heterogeneity indices as a heatmap on the original spatial data. |
|
Perform global spatial autocorrelation analysis. |
|
Compute local indicators of spatial association (LISA) for local spatial autocorrelation, and return significant hotspots and coldspots. |
|
Calculate the multiscale diversity index (MDI). |
|
Calculates a generalized diversity index (GDI) for specified libraries within spatial data. |
|
Calculate the proximity index for spatial data regions, identifying hotspots or coldspots based on diversity indices. |
|
This function analyzes cell frequency and co-occurrence across different spots in spatial data based on specified library IDs and clustering keys, applying spatial statistics methods. |