SBColorSchemePerResidueHydrophobicity#
This class describes a per residue hydrophobicity color scheme. Several scales are available via the Inspector or via SBResidue
functionality.
Please refer to samson.SBNodeColorScheme
.
See also
SAMSON SDK: SBDColorSchemePerResidueHydrophobicity
- class samson.SBColorSchemePerResidueHydrophobicity(*args, **kwargs)#
Bases:
SBColorSchemePerAttribute_double
This class describes a per residue hydrophobicity color scheme.
Overloaded function.
__init__(self: samson.SBColorSchemePerResidueHydrophobicity) -> None
__init__(self: samson.SBColorSchemePerResidueHydrophobicity, nodeIndexer: samson.SBNodeIndexer, colorPalette: samson.SBPalette = None) -> None
Constructs color scheme for nodeIndexer with the given colorPalette.
The colorization is based on the hydrophobicity scale set for residues identified in the nodeIndexer.
- Parameters:
nodeIndexer (samson.SBNodeIndexer) – A indexer of nodes to which the color scheme is applied
colorPalette (samson.SBPalette, default=None) –
- A color palette.
If None, then the default color palette associated with this color scheme will be used.