Protein Feature Viewer entry point

Type Parameters

  • P extends {
        [k: string]: any;
    } = {}

  • S extends {
        [k: string]: any;
    } = {}

  • R extends {
        [k: string]: any;
    } = {}

  • M extends {
        [k: string]: any;
    } = {}

Hierarchy

  • RcsbFv

Constructors

  • Type Parameters

    • P extends {
          [k: string]: any;
      } = {}

    • S extends {
          [k: string]: any;
      } = {}

    • R extends {
          [k: string]: any;
      } = {}

    • M extends {
          [k: string]: any;
      } = {}

    Parameters

    Returns RcsbFv<P, S, R, M>

Properties

Global board configuration

boardDataSate: BoardDataState<P, S, R, M>
boardId: string = ...
contextManager: RcsbFvContextManager = ...

rxjs event based handler used to communicate events (click, highlight, move) between board tracks

elementId: string

DOM elemnt id where the board will be displayed

mounted: boolean = false

Flag indicating that the React component has been mounted

rcsbFvPromise: Promise<void>
rcsbFvStateManager: RcsbFvStateManager
reactRoot: Root
selection: RcsbSelection = ...

Global selection shared among all tracks

xScale: RcsbScaleInterface<number, ScaleLinear<number, number, never>> = ...

Global d3 Xscale object shared among all board tracks

Methods

  • Adds new annotations for a particular board track

    Parameters

    • trackId: string

      Id that identifies the track

    • trackData: RcsbFvTrackData<{
          [k: string]: any;
      }>

      Annotations to be added in the track

    Returns Promise<void>

  • Clear Selection

    Parameters

    • Optional mode: "select" | "hover"

    Returns void

  • Returns all track Ids in the same order that are visualised in the board

    Returns string[]

  • Move board track

    Parameters

    • oldIndex: number

      original position

    • newIndex: number

      new position *

    Returns Promise<void>

  • Rerender the board track

    Parameters

    • trackId: string

      Id that identifies the track

    Returns Promise<void>

  • Loads the configuration for each row of the board

    Parameters

    Returns Promise<void>

  • Change board view range

    Parameters

    • domain: [number, number]

      new xScale domain

    Returns void

  • Replaces annotations a particular board track

    Parameters

    • trackId: string

      Id that identifies the track

    • trackData: RcsbFvTrackData<{
          [k: string]: any;
      }>

      New annotations to be displayed

    • Optional displayId: string

      optional Id that identifies track from a composite track to update

    Returns Promise<void>

Generated using TypeDoc