create_cells_positions_parquet()#
- function create_cells_positions_parquet(astrodb, samples, directory, slideids=None)#
Create parquet files for the cells positions in the samples.
- Parameters:
astrodb (AstroDB) – The AstroDB instance to use for the query.
samples (str | int | list[str, int]) – A list of sample IDs to use for the query.
directory (str) – The directory to save the parquet files. Each sample will be saved in a subdirectory under “slide ID / wsi”.
slideids (list | DataFrame) – A list of slide IDs to use for the samples. If None, the sample name will be used as the slide ID.
- Return type:
None