Repository navigation
Releases
Releases · Thokas99/veryMADpy
veryMADpy 0.1.0
Highlights
veryMADpy 0.1.0 provides a compact Scanpy-style API for robust single-cell QC:
vm.pp.flag_mad_outliers()fits pooled or batch-specific thresholds from existingadata.obsmetrics.- The default policy uses four scaled MADs: lower and upper limits on
log1p(total_counts)andlog1p(n_genes_by_counts), and an upper limit onpct_counts_mt. vm.pp.filter()applies existing flags explicitly; plotting and filtering remain optional review steps.vm.pl.violin(),vm.pl.raincloud(),vm.pl.outlier_summary(), andvm.pl.qc_summary()use stored fits. Legends sit outside the upper-right of each axes.- AnnData provenance, tidy summaries, a pandas DataFrame interface, and optional plotting dependencies are included.
Validation
- The full test suite passed on Python 3.10, 3.11, 3.12, and 3.13 (42 tests per version). GitHub Actions passed for the release workflow.
- The four-donor 10x GEM-X PBMC validation includes an R
scuttle::isOutlier()comparison for the earlier three-scaled-MAD lower-tail count/gene policy. Those parity counts do not validate the new four-MAD two-sided defaults. The report discusses the limits of the available vendor cell labels. - Scanpy is optional. Current Scanpy versions use
out=False; older supported versions useinplace=Trueforcalculate_qc_metrics().
Install
Install from PyPI:
python -m pip install veryMADpyInstall plotting support with python -m pip install "veryMADpy[plot]". Install Scanpy separately if needed for QC metric calculation.
See the README, changelog, PBMC validation, and release-readiness report.
Documentation
Read the veryMADpy documentation for installation, tutorials, API reference, methodology, and validation.
veryMADpy v0.0.1
veryMADpy v0.0.1
Initial release of the Python/scverse-native sibling of veryMAD.
Highlights
- Scanpy-style
vm.pp.flag_mad_outliers()API - First-class AnnData and pandas DataFrame support
- Explicit lower, upper, and two-sided MAD thresholds
none,log1p, andlog10transformations- Nullable outlier flags with transparent threshold metadata
- Robust
vm.pp.mad_scale()for NumPy and pandas - Tested Scanpy to veryMADpy QC workflow
- Live parity tests against the R veryMAD implementation
- No automatic filtering or biological classification
Install
python -m pip install "git+https://github.com/Thokas99/veryMADpy.git@v0.0.1"See the README for examples and interpretation guidance.