scirpy.io.to_airr_cells
- scirpy.io.to_airr_cells(adata, *, airr_mod='airr', airr_key='airr')
Convert an adata object with IR information back to a list of
AirrCell
objects. Inverse function offrom_airr_cells()
.- Parameters
- adata :
AnnData
|MuData
|DataHandler
Union
[AnnData
,MuData
,DataHandler
] AnnData or MuData object that contains AIRR information.
- airr_mod :
str
(default:'airr'
) Name of the modality with AIRR information is stored in the
MuData
object. if anAnnData
object is passed to the function, this parameter is ignored.- airr_key :
str
(default:'airr'
) Key under which the AIRR information is stored in adata.obsm as an awkward array.
- adata :
- Return type
- Returns
List of
AirrCell
objects.