Skip to content

Latest commit

 

History

History
79 lines (48 loc) · 6.36 KB

File metadata and controls

79 lines (48 loc) · 6.36 KB
graph LR
    Core_Data_Pipeline["Core Data Pipeline"]
    Statistical_Modeling_Inference["Statistical Modeling & Inference"]
    Differential_Expression_Analysis["Differential Expression Analysis"]
    Data_Normalization["Data Normalization"]
    Core_Utilities_Math["Core Utilities & Math"]
    Core_Data_Pipeline -- "Utilizes for core statistical computations (e.g., GLM fitting, dispersion estimation)." --> Statistical_Modeling_Inference
    Core_Data_Pipeline -- "Delegates to for adjusting raw count data." --> Data_Normalization
    Core_Data_Pipeline -- "Leverages for data validation, general calculations, and helper functions." --> Core_Utilities_Math
    Core_Data_Pipeline -- "Provides the processed data and intermediate results for final statistical testing." --> Differential_Expression_Analysis
    Statistical_Modeling_Inference -- "Depends on for underlying mathematical functions and optimization routines." --> Core_Utilities_Math
    Differential_Expression_Analysis -- "Calls upon to execute the core statistical tests (e.g., Wald test, LFC shrinkage)." --> Statistical_Modeling_Inference
    Differential_Expression_Analysis -- "Utilizes for various post-processing steps, such as p-value adjustment and result formatting." --> Core_Utilities_Math
    click Core_Data_Pipeline href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/PyDESeq2/Core_Data_Pipeline.md" "Details"
    click Statistical_Modeling_Inference href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/PyDESeq2/Statistical_Modeling_Inference.md" "Details"
    click Differential_Expression_Analysis href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/PyDESeq2/Differential_Expression_Analysis.md" "Details"
    click Data_Normalization href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/PyDESeq2/Data_Normalization.md" "Details"
    click Core_Utilities_Math href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/PyDESeq2/Core_Utilities_Math.md" "Details"
Loading

CodeBoardingDemoContact

Details

Final Architecture Analysis for PyDESeq2

Core Data Pipeline [Expand]

This component is the central orchestrator of the DESeq2 analysis workflow. It manages the initialization and validation of input data, and coordinates the sequential steps of the analysis, including data normalization, dispersion estimation, log-fold change (LFC) calculation, and outlier detection. It serves as the primary interface for users to initiate and run the DESeq2 analysis.

Related Classes/Methods:

Statistical Modeling & Inference [Expand]

This component provides the fundamental statistical algorithms required for the DESeq2 analysis. It is responsible for fitting generalized linear models (GLMs), estimating gene-wise and trend dispersions (alpha MLE), and performing Wald tests. It acts as a foundational statistical engine for both the Core Data Pipeline and Differential Expression Analysis components.

Related Classes/Methods:

Differential Expression Analysis [Expand]

This component takes the processed data and statistical estimations from the Core Data Pipeline and Statistical Modeling & Inference to perform the final differential expression analysis. It handles the execution of Wald tests, applies LFC shrinkage, performs independent filtering, and adjusts p-values to generate a comprehensive summary of differentially expressed genes.

Related Classes/Methods:

Data Normalization [Expand]

This specialized component focuses solely on normalizing raw count data. It implements the DESeq2 median-of-ratios method to account for sequencing depth differences and other technical variations between samples, ensuring that downstream statistical analyses are performed on comparable data.

Related Classes/Methods:

Core Utilities & Math [Expand]

This comprehensive component provides a wide array of foundational mathematical operations, statistical calculations (e.g., negative binomial likelihood, trimmed mean, variance), data validation routines, and general helper functions. It also includes specialized parameter optimization algorithms, such as grid search methods for fitting dispersion (alpha) and LFC (beta) values. This component serves as a crucial support layer for almost all other parts of the PyDESeq2 library.

Related Classes/Methods: