create_cells_parquet()#

function create_cells_parquet(astrodb, samples, directory, slideids=None, base_query='SELECT * FROM CELLTAG', *, is_and=False)#

Create parquet files for the cells 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.

  • base_query (str) – The base query to use for the cells.

  • is_and (bool) – Whether to use ‘and’ or ‘where’ in the query.

Return type:

None