API Documents
zoom.core - Core Class
Main class used for quick analyses in zoom.
ZOOM: Implementation of cross-validation PLS-R and traditional imaging-transcriptomics paradigm and spatial permutation test-based GSEA.
ZOOM_SC: Calculation of single-cell enrichment scores of SBP-relevant gene sets and single-cell level statistical significance.
|
The ZOOM class serves as fundation for this package.It implements a framework for partial least squares regression (PLS-R) applied to anatomically comprehensive transcriptomics and spatial brain phenotypic data. |
|
The ZOOM_SC class extends traditional imaging-transcriptomics paradigm (ZOOM class) by link SBP-relevant gene sets with single-cell RNA sequencing dataset. |
zoom.data_loader - Data Loader
Functionality for loading single-cell RNA sequencing data, surface- based spatial brain phenotypes, parcellation and data frame.
|
Load and check scRNA-seq file (.h5ad). |
|
Load GIFTI image. |
|
Load parcellation image. |
zoom.prepare - Prepare Input Data
Functionality for perparing neccessary data for ZOOM. - Regional AHBA processing pipeline optimized for cortical samples. - Regional SBP and spatial permutation test. - scRNA-seq preprocess and calculate gene specificity scores.
|
AHBA processing pipeline optimized for cortical samples. |
|
Assign SBP image to parcellation image and perform spatial permutation test. |
|
Fetch indices of medial wall vertices. |
zoom.pls_tool - Imaging Transcriptomics
Functionality for performing cross-validation PLS-R and traditional imaging-transcriptomics paradigm.
Evaluate optimal component for PLS-R through cross-validation strategy. |
|
|
Evaluate optimal component for PLS-R through cross-validation strategy. |
|
Evaluate the final model performance for the PLS-R model. |
|
Perform spatial permutation test for PLS-R. |
|
Compute gene-level statistics and corresponding permutation p-values. |
|
Estimate Z-scored PLS1 gene weights with bootstrap strategy. |
|
Compute gene-level statistics and corresponding permutation p-values. |
zoom.sc_tool - Single Cell Scoring
Functionality for preprocessing scRNA-seq data.
|
Calculates the gene expression rank for each cell. |
|
Calculates the gene expression rank for each cell. |
|
Calculates the gene expression rank for each cell. |
|
Calculates the gene expression rank for each cell. |
|
Calculates single-cell SBP-relevant enrichment scores. |
|
Perform group Benjamini–Hochberg FDR correction. |
|
Calculates differentially expressed genes (DEG) for cell groups containing cells significantly relevant to SBP. |
|
Computes region enrichment for cell groups containing significant cells based on predefined statistical results. |
|
Permform GSEA based on spatial permutation test. |