scirpy.io.TcrCell

class scirpy.io.TcrCell(cell_id)

Data structure for a Cell with T-cell receptors.

A TcrCell can hold multiple TcrChains.

Parameters
cell_id : strstr

cell id or barcode. Needs to match the cell id used for transcriptomics data (i.e. the adata.obs_names)

Attributes

cell_id

Methods

add_chain(chain)

Add a TcrChain