Skip to main content
Version: 0.5.x

Antibody

Represent an antibody.

Inheritance

This class extends Cell

Module: aisp.base.immune.cell
Import: from aisp.base.immune.cell import Antibody


Attributes

NameTypeDefaultDescription
vectornpt.NDArray-A vector of cell features.
affinityfloat-Affinity value for the antibody.

Methods

  • __lt__(other): Compare this cell with another Antibody cell based on affinity.
  • __eq__(other): Check if this cell has the same affinity as another cell.