scispy.io.load_xenium

Contents

scispy.io.load_xenium#

scispy.io.load_xenium(path, index_table=True, region='cell_boundaries', feature_key='feature_name', n_jobs=1)#

Load xenium data as SpatialData object

Parameters:
  • path (str) – path to folder.

  • index_table (bool (default: True)) – rename the index in table.obs with the cell_id

  • region (str (default: 'cell_boundaries')) – default shape element for region in table.obs.

  • feature_key (str (default: 'feature_name')) – default column for feature name in transcripts.

  • n_jobs (int (default: 1)) – number of jobs to load the xenium object

Return type:

SpatialData

Returns:

SpatialData object