single_statistics/
lib.rs

1//! # single-statistics
2//!
3//! A specialized Rust library for statistical analysis of single-cell data, part of the single-rust ecosystem.
4//!
5//! This crate provides robust statistical methods for biological analysis of single-cell data, focusing on
6//! differential expression analysis, marker gene identification, and related statistical tests. It is optimized
7//! for sparse single-cell matrices and provides both parametric and non-parametric statistical tests.
8//!
9//! ## Core Features
10//!
11//! - **Differential Expression Analysis**: T-tests, Mann-Whitney U tests, and other statistical methods
12//! - **Multiple Testing Correction**: FDR, Bonferroni, and other correction methods
13//! - **Effect Size Calculations**: Cohen's d and other effect size measures
14//! - **Sparse Matrix Support**: Optimized for `CsrMatrix` from nalgebra-sparse
15//!
16//! ## Quick Start
17//!
18//! Use the `MatrixStatTests` trait to perform differential expression analysis on sparse matrices.
19//! The library supports various statistical tests including t-tests and Mann-Whitney U tests,
20//! with automatic multiple testing correction.
21//!
22//! ## Module Organization
23//!
24//! - **[`testing`]**: Statistical tests, hypothesis testing, and multiple testing correction
25//! - **[`enrichment`]**: Gene set enrichment analysis methods (GSEA, ORA, AUCell)
26
27pub mod testing;
28#[cfg(feature = "enrichment")]
29pub mod enrichment;