Built-In Namespace _global_
| Method Attributes | Method Name and Description |
|---|---|
|
alignmentsURI(reference, query)
Optional method.
|
|
|
Required method.
|
|
|
fullBrowserMode(on)
Optional method.
|
|
|
Optional method.
|
|
|
Optional method.
|
|
|
invokeExportAction(sequenceId, a, z, actionName)
Optional method.
|
|
|
invokeGenomeAction(sequenceId, trackIds, a, z, actionName)
Optional method.
|
|
|
Optional method.
|
|
|
Optional method.
|
|
|
restore()
Optional method and used by fullBrowserMode().
|
|
|
Optional method and used by fullBrowserMode().
|
|
|
trackFeaturesURI(sequenceId, trackId)
Optional method.
|
|
|
Optional method.
|
Method Detail
alignmentsURI(reference, query)
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.
assembliesURI()
Required method.
Defined in: example-app.js.
Defined in: example-app.js.
- Returns:
- URI of the JSON assemblies structure.
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.
getExportActionMenu()
Optional method. Provides menu item actions when right clicking on a selected
slice.
Defined in: example-app.js.
Defined in: example-app.js.
getGenomeActionMenu()
Optional method. Provides menu item actions when right clicking on a selected
slice.
Defined in: example-app.js.
Defined in: example-app.js.
invokeExportAction(sequenceId, a, z, actionName)
Optional method. If you've included getExportActionMenu(), 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} a
- Starting base position of the selection.
- {int} z
- Ending base position of the selection.
- {String} actionName
- Identifier of the menu item selected.
invokeGenomeAction(sequenceId, trackIds, a, z, actionName)
Optional method. If you've included getGenomeActionMenu(), then you'll need
to include this too.
Defined in: example-app.js.
Defined in: example-app.js.
- Parameters:
- {String} sequenceId
- Reference sequence Id.
- {Array} trackIds
- Array of trackIds that have been selected.
- {int} a
- Starting base position of the selection.
- {int} z
- 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.
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.
trackFeaturesURI(sequenceId, trackId)
Optional method. If you want to view density tracks, include tracksURI() and
also this method.
Defined in: example-app.js.
Defined in: example-app.js.
- Parameters:
- {string} sequenceId
- Reference sequence ID.
- {string} trackId
- Track ID as specified by the tracks provided by tracksURI.
tracksURI()
Optional method. If you want to view density tracks, include this and
trackFeaturesURI().
Defined in: example-app.js.
Defined in: example-app.js.