Skip to main content

Interface: RamachandranPlotOptions

Defined in: src/mobjects/molecular/RamachandranPlot.ts:40

Options for a RamachandranPlot.

Properties​

axisColor?​

optional axisColor: string

Defined in: src/mobjects/molecular/RamachandranPlot.ts:70

The axes color. Default: '#ffffff'.


axisLength?​

optional axisLength: number

Defined in: src/mobjects/molecular/RamachandranPlot.ts:68

Visual length of each axis. Default: 6.


colorBy?​

optional colorBy: RamachandranColorBy

Defined in: src/mobjects/molecular/RamachandranPlot.ts:56

How to color the dots. Default: 'uniform'.


dotColor?​

optional dotColor: string

Defined in: src/mobjects/molecular/RamachandranPlot.ts:52

The dot color for colorBy: 'uniform'. Default: '#4cc9f0'.


dotRadius?​

optional dotRadius: number

Defined in: src/mobjects/molecular/RamachandranPlot.ts:54

The dot radius. Default: 0.05.


outlierColor?​

optional outlierColor: string

Defined in: src/mobjects/molecular/RamachandranPlot.ts:64

The color for outlier dots in colorBy: 'region'. Default: '#888888'.


points?​

optional points: RamachandranPoint[]

Defined in: src/mobjects/molecular/RamachandranPlot.ts:45

Explicit φ/ψ points. Takes precedence over residues. Each phi and psi must be a finite number, or the constructor throws.


regionFillOpacity?​

optional regionFillOpacity: number

Defined in: src/mobjects/molecular/RamachandranPlot.ts:62

Fill opacity for the region outlines. Default: 0.18.


regions?​

optional regions: readonly RamachandranRegion[]

Defined in: src/mobjects/molecular/RamachandranPlot.ts:60

The allowed regions to draw / classify by. Default: RAMACHANDRAN_REGIONS.


residueColors?​

optional residueColors: Record<string, string>

Defined in: src/mobjects/molecular/RamachandranPlot.ts:66

Per-code residue color overrides for colorBy: 'residue'.


residues?​

optional residues: ResidueCA[]

Defined in: src/mobjects/molecular/RamachandranPlot.ts:50

Residues in chain order with backbone n, ca and c atoms. The plot computes φ/ψ per residue; a residue missing a backbone atom is skipped.


showAllowedRegions?​

optional showAllowedRegions: boolean

Defined in: src/mobjects/molecular/RamachandranPlot.ts:58

Draw the simplified allowed-region outlines behind the dots. Default: false.