You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 27, 2025. It is now read-only.
*`--shapes-key TEXT`: Name of the cell shapes (key of `sdata.shapes`). This argument doesn't need to be provided if there is only one shapes key or a table with only one region.
107
107
*`--points-key TEXT`: Name of the transcripts (key of `sdata.points`). This argument doesn't need to be provided if there is only one points key.
108
108
*`--gene-column TEXT`: Column name of the points dataframe containing the gene names
109
-
*`--pixelsize FLOAT`: Number of microns in a pixel. Invalid value can lead to inconsistent scales in the Explorer. [default: 0.2125]
109
+
*`--pixel_size FLOAT`: Number of microns in a pixel. Invalid value can lead to inconsistent scales in the Explorer. [default: 0.2125]
110
110
*`--spot / --no-spot`: Whether the technology is based on spots [default: no-spot]
111
111
*`--layer TEXT`: Layer of `sdata.table` where the gene counts are saved. If `None`, uses `sdata.table.X`.
112
112
*`--lazy / --no-lazy`: If `True`, will not load the full images in memory (except if the image memory is below `ram_threshold_gb`) [default: lazy]
Copy file name to clipboardExpand all lines: spatialdata_xenium_explorer/converter.py
+11-9Lines changed: 11 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ def write(
27
27
shapes_key: str|None=None,
28
28
points_key: str|None=None,
29
29
gene_column: str|None=None,
30
-
pixelsize: float=0.2125,
30
+
pixel_size: float=0.2125,
31
31
spot: bool=False,
32
32
layer: str|None=None,
33
33
polygon_max_vertices: int=13,
@@ -64,7 +64,7 @@ def write(
64
64
shapes_key: Name of the cell shapes (key of `sdata.shapes`). This argument doesn't need to be provided if there is only one shapes key or a table with only one region.
65
65
points_key: Name of the transcripts (key of `sdata.points`). This argument doesn't need to be provided if there is only one points key.
66
66
gene_column: Column name of the points dataframe containing the gene names.
67
-
pixelsize: Number of microns in a pixel. Invalid value can lead to inconsistent scales in the Explorer.
67
+
pixel_size: Number of microns in a pixel. Invalid value can lead to inconsistent scales in the Explorer.
68
68
spot: Whether the technology is based on spots
69
69
layer: Layer of `sdata.table` where the gene counts are saved. If `None`, uses `sdata.table.X`.
70
70
polygon_max_vertices: Maximum number of vertices for the cell polygons. A higher value will display smoother cells.
lazy: If `False`, the image will not be read in-memory (except if the image size is below `ram_threshold_gb`). If `True`, all the images levels are always loaded in-memory.
185
185
tile_width: Xenium tile width (do not update).
186
186
n_subscales: Number of sub-scales in the pyramidal image.
187
-
pixelsize: Xenium pixel size (do not update).
187
+
pixel_size: Xenium pixel size (do not update).
188
188
ram_threshold_gb: If an image (of any level of the pyramid) is below this threshold, it will be loaded in-memory.
189
189
is_dir: If `False`, then `path` is a path to a single file, not to the Xenium Explorer directory.
0 commit comments