Skip to content
ZihanYang030Public

About

permutation-based computational framework for detecting higher-order spatial co-localization across multiple spatial scales

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MANGO

MANGO (MAppiNG multi-cell-type multi-scale spatial relationships in spatially resolved Omics)

MANGO is a permutation-based computational framework for detecting higher-order spatial co-localization across multiple spatial scales.

MANGO defines the local microenvironment of each reference cell using a k-nearest-neighbor neighborhood with Gaussian distance-decay weighting. Within each neighborhood, MANGO computes a multivariate local co-localization quotient (mLCLQ) that quantifies whether a predefined set of query cell types co-occurs more frequently than expected given their global spatial distributions. Significance is assessed through permutation testing. MANGO is implemented as an open-source R package, available at: https://github.com/ZihanYang030/mango.

drawing

Schematic of mLCLQ calculation

For each reference cell, we compute local weighted proportions of the query types within neighborhoods using spatial weights and observed cell-type labels. The proportions are combined and divided by the global cell-type abundance to obtain an observed mLCLQ score. We then repeat the calculation with independently permuted labels produces null scores.

MANGO algorithm

MANGO is under active development. We appreciate any suggestions and feedback. Contact: zy56@rice.edu.

Install the Package

Install MANGO from GitHub:

remotes::install_github("ZihanYang030/MANGO")
library(MANGO)

License

MANGO is licensed under the GNU General Public License v3.0 or any later version.

About

permutation-based computational framework for detecting higher-order spatial co-localization across multiple spatial scales

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages