Repository navigation
v0.1.0
First release of diffsvg, which compares how a gene's expression changes with the distance to an anchor (a region, cell type or set of coordinates) between two conditions.
- Statistical tests:
- per-gene p-values with FDR correction;
test="parallel"for shape differences,"level"for the overall gap,"slope"for steeper or flatter gradients, and"wald"for any difference;- slides, sections or donors modelled as replicates with
bin_obs(..., sample=...).
- Exact posterior inference for the Gaussian model, the default, so a panel fits in seconds without a sampler. PyMC is an optional extra (
pip install 'diffsvg[pymc]'), only needed for non-normal priors. - Plotting: volcano plots, curves with credible bands, and p-value histograms.
Install with pip install diffsvg.