SpatialDE.fit

SpatialDE.fit(adata, genes=None, layer=None, normalized=False, spatial_key='spatial', control=GPControl(), kernel_space=None, rng=np.random.default_rng())

Fits Gaussian processes to genes.

This dispatches to fit_fast() if control is None, otherwise to fit_detailed(). All arguments are forwarded.

Returns: A Pandas DataFrame with the results.

Parameters:
  • adata (AnnData) –

  • genes (Optional[List[str]]) –

  • layer (Optional[str]) –

  • spatial_key (str) –

  • control (Optional[GPControl]) –

  • kernel_space (Optional[Dict[str, float]]) –

  • rng (Generator) –

Return type:

DataFrame