Others

prepare_svca

class spatialtis.ext.prepare_svca(data, out_dir, entry='svca_data', **kwargs)[source]

Prepare data for SVCA analysis

Spatial Variance Components Analysis: SVCA

The input format is separated folder for each ROI with expressions.txt and positions.txt.

Parameters
  • data (anndata._core.anndata.AnnData) – AnnData object to perform analysis

  • out_dir (Union[pathlib.Path, str]) – The directory to store the data

  • entry (str) – The name of new folder to store the data

  • **kwargs – Pass to spatialtis.abc.AnalysisBase

get_result