scirpy.io.to_airr_cells

scirpy.io.to_airr_cells(adata)

Convert an adata object with IR information back to a list of AirrCell objects.

Inverse function of from_airr_cells().

Parameters
adata : AnnData

annotated data matrix with IR annotations.

Return type

List[AirrCell]

Returns

List of AirrCell objects.