Built-In Namespace _global_
| Method Attributes | Method Name and Description |
|---|---|
|
alignmentsURI(reference, query, details, ra, ra, ra, ra)
Optional method.
|
|
|
featuresURI(term, sequenceId, start, stop)
Optional method.
|
|
|
fullBrowserMode(on)
Optional method.
|
|
|
Optional method.
|
|
|
Optional method.
|
|
|
helpURI()
Optional method.
|
|
|
invokeFeatureAction(featureDescription, actionName)
Optional method.
|
|
|
invokeRegionAction(sequenceId, start, stop, actionName)
Optional method.
|
|
|
Optional method.
|
|
|
Optional method.
|
|
|
restore()
Optional method and used by fullBrowserMode().
|
|
|
Returns the sequences in JSON data format.
|
|
|
Optional method and used by fullBrowserMode().
|
Method Detail
alignmentsURI(reference, query, details, ra, ra, ra, ra)
Optional method. Include this if you want alignment tracks.
Defined in: example-app.js.
Defined in: example-app.js.
- Parameters:
- {String} reference
- Reference sequence ID.
- {String} query
- Query sequence ID.
- {int} details
- 1 indicates showing alignment deatils, 0 doesn't show them.
- {int} ra
- Reference sequence start position.
- {int} ra
- Reference sequence stop position.
- {int} ra
- Query sequence start position.
- {int} ra
- Query sequence stop position.
featuresURI(term, sequenceId, start, stop)
Optional method. If you'd like to show a search box and display searched
features, add this method.
Defined in: example-app.js.
Defined in: example-app.js.
- Parameters:
- {string} term
- Search term.
- {string} sequenceId
- ID of the sequence that will be searched.
- {int} start
- Starting sequence position if we're limiting your searches.
- {int} stop
- Stopping sequence position if we're limiting your searches.
fullBrowserMode(on)
Optional method. Toggles full browser mode.
Defined in: example-app.js.
Defined in: example-app.js.
- Parameters:
- {int} on
- 1 turns full browser mode on.
getFeatureActionMenu()
Optional method. Provides menu item actions when right clicking on a feature.
Defined in: example-app.js.
Defined in: example-app.js.
getRegionActionMenu()
Optional method. Provides menu item actions when right clicking on a selected
sequence region.
Defined in: example-app.js.
Defined in: example-app.js.
helpURI()
Optional method. Include this with a link if you'd like to display a help
link for the Dot Plot.
Defined in: example-app.js.
Defined in: example-app.js.
invokeFeatureAction(featureDescription, actionName)
Optional method. If you've included getFeatureActionMenu(), then you'll need
to include this.
Defined in: example-app.js.
Defined in: example-app.js.
- Parameters:
- {string} featureDescription
- Description of the feature that was clicked.
- actionName
invokeRegionAction(sequenceId, start, stop, actionName)
Optional method. If you've included getRegionActionMenu(), then you'll need
to include this too.
Defined in: example-app.js.
Defined in: example-app.js.
- Parameters:
- {String} sequenceId
- Reference sequence Id.
- {int} start
- Starting base position of the selection.
- {int} stop
- Ending base position of the selection.
- {String} actionName
- Identifier of the menu item selected.
pageHeight()
Optional method. Include this if you include fullBrowserMode().
Defined in: example-app.js.
Defined in: example-app.js.
- Returns:
- Full page height.
pageWidth()
Optional method. Include this if you include fullBrowserMode().
Defined in: example-app.js.
Defined in: example-app.js.
- Returns:
- Full page width.
restore()
Optional method and used by fullBrowserMode(). Pops the application back in
from full browser mode.
Defined in: example-app.js.
Defined in: example-app.js.
sequences()
Returns the sequences in JSON data format.
Defined in: example-app.js.
Defined in: example-app.js.
setFullBrowserMode()
Optional method and used by fullBrowserMode(). Pops the application out
into full browser mode.
Defined in: example-app.js.
Defined in: example-app.js.