Skip to content

1.1.0

Latest
Compare
Choose a tag to compare
@vals vals released this 09 Sep 06:17
· 23 commits to master since this release

This release adds wrappers to use the SpatialDE methods with AnnData objects.

For the spatial significance test, it is used e.g. this way:

from SpatialDE.anndata import spatialde_test

results = spatialde_test(adata, coord_columns=['x', 'y'],
                                regress_formula='~np.log(total_counts)')

For automatic expression histology, it is used e.g. this way:

from SpatialDE.anndata import automatic_expression_histology

histology_results, patterns = \
automatic_expression_histology(adata, sres, C=8, l=1000.0,
                               coord_columns=['x', 'y'],
                               layer='residual',
                               verbosity=1)