Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SecondaryStructureAxis

Class to represent the x and y axis for a secondary structure on a Plotly graph.

export

Hierarchy

Index

Constructors

constructor

  • new SecondaryStructureAxis(sections: SECONDARY_STRUCTURE, minimumRequiredResidues?: number, axisIndex?: number, colorMap?: ColorMapper<"C" | "E" | "G" | "H" | "I" | "S" | "T" | "B">, dataTransformFn?: object, filterFn?: (Anonymous function)): SecondaryStructureAxis

Properties

Protected axes

axes: Map<SECONDARY_STRUCTURE_KEYS, IAxisMapping> = new Map()

axisIndex

axisIndex: number

colorMap

colorMap: ColorMapper<"C" | "E" | "G" | "H" | "I" | "S" | "T" | "B">

dataTransformFn

dataTransformFn: object

Type declaration

filterFn

filterFn: (Anonymous function)

Protected highlightedAxes

highlightedAxes: Map<SECONDARY_STRUCTURE_KEYS, IAxisMapping> = new Map()

minimumRequiredResidues

minimumRequiredResidues: number

sections

Accessors

axis

highlightedXAxes

  • get highlightedXAxes(): object[]

highlightedYAxes

  • get highlightedYAxes(): object[]

xAxes

  • get xAxes(): object[]

yAxes

  • get yAxes(): object[]

Methods

Protected auxiliaryAxisDefaults

Protected deriveHighlightedPointsInAxis

Protected derivePointsInAxis

Protected generateBetaSheetStyle

  • Generate the Plotly layout specific to beta sheet representation.

    Parameters

    • data: Partial<IPlotlyData>

      Data for this axis.

    • symbols: string[]

      The symbols that make up this axis. Should be an array of empty lines with an arrow at the end.

    Returns Partial<IPlotlyData>

    Plotly layout specific to beta sheet representation.

Protected generateHighlightedXAxisSegment

Protected generateHighlightedYAxisSegment

Protected generateXAxisSegment

Protected generateYAxisSegment

getAxisById

Protected highlightedAuxiliaryAxisDefaults

Protected setupAuxiliaryAxis

  • setupAuxiliaryAxis(): void

Static Protected centerSectionPositionFn

Generated using TypeDoc