Hierarchy (View Summary)

Constructors

Properties

bottom: undefined | number
color_function: any
config: any
feature_source: undefined | TabixBedFeatureSource
filter_function: any
top: undefined | number
custom_tracks: {}

Methods

  • Parameters

    • __namedParameters: {
          bpPerPixel: any;
          bpStart: any;
          color: any;
          ctx: any;
          features: any;
          pixelWidth: any;
          region: any;
          yOffset?: number;
      }

    Returns void

  • Retrieves the features requested, the default is just to get the features from the feature source

    Parameters

    • chr: string

      The chromosome

    • bpStart: integer

      The start of the range from which to obtain features

    • bpEnd: integer

      The end of the range from which to obtain features

    • force: boolean

      If true then cached features should not be used but fresh features retrieved

    • data: Object

      contains bp ber pixel and width of the canvas

    Returns any

  • Parameters

    • panel: any

    Returns (
        | {
            current_value: any;
            func: (x: any) => void;
            label: string;
            max?: undefined;
            min?: undefined;
            type: string;
        }
        | {
            current_value: any;
            func: (x: any) => void;
            label: string;
            max: number;
            min: number;
            type: string;
        }
        | {
            current_value?: undefined;
            func: () => void;
            label: string;
            max?: undefined;
            min?: undefined;
            type: string;
        }
    )[]

  • Parameters

    • container: any
    • __namedParameters: { event: any; feature: any; track: any }

    Returns void

  • Parameters

    • container: any
    • __namedParameters: { event: any; feature: any; track: any }

    Returns void

  • Renders the feature to the canvas

    Parameters

    • feature: any

      The feature itself

    • coord: any

      An object containing information on where to draw the feature px1,px2 the left and right pixels - pw - the width py the top, h - the height

    • ctx: any

      The context to draw the feature

    • info: any

      An object containing information about the genomic location bpStart.bpPerPixel and pixelWidth

    • defaultColor: any

    Returns void

  • Parameters

    • ctx: any

      the canvas 2d context

    • feature: any
    • featureX: any

      feature start x-coordinate

    • featureX1: any

      feature end x-coordinate

    • featureY: any

      feature y-coordinate

    • windowX: any

      visible window start x-coordinate

    • windowX1: any

      visible window end x-coordinate

    • defaultColor: any

    Returns void