Class Index | File Index

Classes


Class Biojs.HpaSummaryFeatures


Version 1.0.0.

Extends Biojs.HpaSummaryFeature.

Defined in: Biojs.HpaSummaryFeatures.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Component to represent Human Protein Atlas summary protein expression information from a DAS XML
Field Summary
Field Attributes Field Name and Description
<inner>  
Array containing the supported event names
<inner>  
opt
Default values for the options
Method Summary
Method Attributes Method Name and Description
 
constructor(options)
 
setHpaDasUrl(hpaDasUrl)
Set an URL with HPA DAS XML to start the query and visualization of HPA summary features
Methods borrowed from class Biojs:
addListener, extend, getId, listen, raiseEvent, removeListener, setEventHandlers, setOptions
Event Summary
Event Attributes Event Name and Description
 
onRequestError(actionPerformed)
Events borrowed from class Biojs.HpaSummaryFeature:
onFeatureSelected
Class Detail
Biojs.HpaSummaryFeatures(options)
Component to represent Human Protein Atlas summary protein expression information from a DAS XML
Author: Rafael C Jimenez.
var instance = new Biojs.HpaSummaryFeatures({
	  target: 'YourOwnDivId',
	  hpaDasUrl: 'http://das.proteinatlas.org/das/proteinatlas/features?segment=Q9NTI5',
	  width: '585px',
	  imageWidth: '150px'
});
Parameters:
{Object} options
An object with the options for this component.
Options detailed:
{string} target
Identifier of the DIV tag where the component should be displayed.
{string} hpaDasUrl
Url pointing to an XML including HPA infomration in DAS format
{string} width
[900px] List of points including summary information for this feature
{string} imageWidth
[200px] List of points including summary information for this feature
{string} [proxyUrl='../biojs/dependencies/proxy/proxy.php']
Proxy to bypass the same origin policy (http://en.wikipedia.org/wiki/Same_origin_policy)
Requires:
Biojs.HpaSummaryFeature.css
Field Detail
<inner> eventTypes
Array containing the supported event names

<inner> opt
Default values for the options
Method Detail
constructor(options)
Parameters:
options

setHpaDasUrl(hpaDasUrl)
Set an URL with HPA DAS XML to start the query and visualization of HPA summary features
instance.setHpaDasUrl("http://www.ebi.ac.uk/~rafael/web/copa/biojs/src/test/data/Q9NTI5_hpa_summary.xml");
instance.setHpaDasUrl("http://www.ebi.ac.uk/~rafael/web/copa/biojs/src/test/data/unknownsegment.xml");
Parameters:
{string} hpaDasUrl
DAS XML with HPA summary information
Event Detail
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'.

Documentation generated by JsDoc Toolkit 2.3.2 on Thu Apr 17 2014 17:42:42 GMT+0100 (BST)