insitupy.dataclasses.CellData

insitupy.dataclasses.CellData#

class insitupy.dataclasses.CellData(table, boundaries, config={})#

Data object containing an AnnData object and a boundary object which are kept in sync.

__init__(table, boundaries, config={})#

Methods

__init__(table, boundaries[, config])

close()

Close underlying resources owned by this CellData object.

copy()

Function to generate a deep copy of the current object.

crop([xlim, ylim, shape, inplace, verbose])

save(path[, boundaries_zipped, ...])

set_table(value[, allow_partial_overlap])

Safely set table data while keeping table and boundaries consistent.

shift(x, y)

Function to shift the coordinates of both table and boundaries data by certain values x/y.

sync([verbose])

Function to synchronize table and boundaries of CellData.

Attributes

boundaries

config

entries

matrix

table

Alias for matrix property.