Hierarchy (View Summary)

Constructors

  • Creates a filter panel

    Parameters

    • parent_div: string

      The id of the div element to house the browser

    • config: Object

      config of how the browser is constructed

      • add_controls - if true then a control bar is added (default false)
      • add_ruler - if true a ruler track will be added (default false)

    Returns SimpleBrowser

Properties

bp_per_pixel: undefined | number
chr: string
control_panel: undefined | BrowserControls
div: any
end: number
listeners: {}
panels: {}
start: number
tracks_proxy: any
width: any

Methods

  • Adds a panel to the browser Creates a filter panel

    Parameters

    • id: string

      The id of track

    • track_config: Object[]

      The config describing the tracks in the panel

    • top: number

      The position of the top of the panel(in pixels)

    • height: number

      The height of the panel (in pixels)

    • pan_config: any

    Returns void

  • Returns { config: any; height: any; id: string; pan_config: any; top: any }[]

  • Displays the specified genomic location

    Parameters

    • chr: string

      chromosome

    • start: number

      The start of the genomic location

    • end: number

      The end of the genomic location

    Returns void