gctree.isotyping.Isotype
- class gctree.isotyping.Isotype(order, weight_matrix, isotype_name)[source]
Bases:
object
An isotype, and associated information about class switching order and transition weights.
- order
A list or other sequence of isotype names, in their allowed class switching order
- weight_matrix
Transition weights between isotypes, with first index the original isotype index, and second index the new isotype index.
- isotype
Index of isotype name in
self.order
Objects of this class shall be instantiated using
IsotypeTemplate.new()
.Methods
copy
isbefore
iso_string
Returns list of all possible isotypes if passed an ambiguous isotype.