Class Biojs.GeneExpressionSummary
Version
1.0.0.
Extends
Biojs.
Defined in: Biojs.GeneExpressionSummary.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Biojs.GeneExpressionSummary(options)
Gene expression summary
|
| Field Attributes | Field Name and Description |
|---|---|
| <inner> |
Array containing the supported event names
|
| <inner> |
Default values for the options
|
| Method Attributes | Method Name and Description |
|---|---|
|
constructor(options)
|
|
|
setIdentifier(identifier)
Fetch the data by means of identifier.
|
- Methods borrowed from class Biojs:
- addListener, extend, getId, listen, raiseEvent, setEventHandlers, setOptions
| Event Attributes | Event Name and Description |
|---|---|
|
onDbError(actionPerformed)
|
|
|
onRequestError(actionPerformed)
|
Class Detail
Biojs.GeneExpressionSummary(options)
var instance = new Biojs.GeneExpressionSummary({
target: 'YourOwnDivId',
identifier: 'ENSG00000066279'
});
- Parameters:
- {Object} options
- An object with the options for Sequence component.
- Options detailed:
- {string} target
- Identifier of the DIV tag where the component should be displayed.
- {string} identifier
- ENSEMBL gene identifier or UniProt Acc needed as input to fetch the Gene expression summary data
- {string} [featuresUrl='http://www.ebi.ac.uk/gxa/das/s4/features']
- Url of the REST service which provides the summary data.
- {string} [legend=true]
- Option to display the provenance legend.
- {string} [proxyUrl='../biojs/dependencies/proxy/proxy.php']
- This component needs to request data from a web service. To bypass the same origin policy (http://en.wikipedia.org/wiki/Same_origin_policy) this component needs a proxy. You could use your own proxy by modifying this value or one of the BioJS proxies: '../biojs/dependencies/proxy/proxy.php' or '../biojs/dependencies/proxy/proxy.jsp'
- Requires:
- jQuery Core 1.6.4
- GeneExpressionSummary.css
Field Detail
<inner>
eventTypes
Array containing the supported event names
<inner>
opt
Default values for the options
Method Detail
constructor(options)
- Parameters:
- options
setIdentifier(identifier)
Fetch the data by means of identifier.
instance.setIdentifier("ENSG00000100867");
instance.setIdentifier("Q61171");
instance.setIdentifier("ENSG000000000000");
instance.setIdentifier("P00000");
- Parameters:
- {string} identifier
- The segment identifier.
Event Detail
onDbError(actionPerformed)
instance.onDbError(
function( e ) {
alert( e.message );
}
);
- Parameters:
- {function} actionPerformed
- A function which receives an Biojs.Event object as argument.
- Event object data:
- {Object} source
- The component which did triggered the event.
- {string} file
- The name of the loaded file.
- {string} result
- A string with either value 'success' or 'failure'.
- {string} message
- Error message in case of result be 'failure'.
onRequestError(actionPerformed)
instance.onRequestError(
function( e ) {
alert( e.message );
}
);
- Parameters:
- {function} actionPerformed
- A function which receives an Biojs.Event object as argument.
- Event object data:
- {Object} source
- The component which did triggered the event.
- {string} file
- The name of the loaded file.
- {string} result
- A string with either value 'success' or 'failure'.
- {string} message
- Error message in case of result be 'failure'.