Config¶
SpatialTis allows you to set global configuration, so that you don’t have to specify some parameters in every function.
To set the config:
from spatialtis import CONFIG
Here is some useful configurations you will deal with a lot, all the names are CAPITALIZED.
Options |
Description |
Default Value |
Type |
|
Operating system |
Detect automatically |
str |
|
Use multi-processing |
|
bool |
|
The current working environment |
Detect automatically |
str |
|
Control the print statement |
|
bool |
|
Control the process bar |
|
bool |
|
To autosave the visualization results |
|
bool or Path |
|
The design of the experiment data |
|
List[str] |
|
The key of ROI |
|
str |
Storage keys, please explicitly specify for your own data
Options |
Description |
Default Value |
Type |
|
Cell type key in AnnData.obs |
|
str |
|
Marker key in AnnData.var |
|
str |
|
Neighbors key in AnnData.obs |
|
str |
|
Centroid key in AnnData.obs |
|
str |
|
Area key in AnnData.obs |
|
str |
|
Shape key in AnnData.obs |
|
str |
|
Eccentricity key in AnnData.obs |
|
str |