@rcsb/rcsb-saguaro
    Preparing search index...

    Class RcsbFv<P, S, R, M>

    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 } = {}
    Index

    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>

    Methods

    • Adds new annotations for a particular board track

      Parameters

      • trackId: string

        Id that identifies the track

      • trackData: RcsbFvTrackData

        Annotations to be added in the track

      Returns Promise<void>

    • Parameters

      • f: () => void

      Returns RcsbFv

    • Clear Selection

      Parameters

      • Optionalmode: "select" | "hover"

      Returns void

    • Get board view range

      Returns [number, number]

    • Get selected board ranges

      Parameters

      • mode: "select" | "hover"

        selection type

      Returns SelectionInterface[]

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

      Returns string[]

    • Renders the board

      Returns Promise<void>

    • Move board track

      Parameters

      • oldIndex: number

        original position

      • newIndex: number

        new position *

      Returns Promise<void>

    • reset Selection and Scale

      Returns 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

    • Parameters

      • f: () => void

      Returns RcsbFv

    • Unmount the board

      Returns void

    • Replaces annotations a particular board track

      Parameters

      • trackId: string

        Id that identifies the track

      • trackData: RcsbFvTrackData

        New annotations to be displayed

      • OptionaldisplayId: string

        optional Id that identifies track from a composite track to update

      Returns Promise<void>