Class Index | File Index

Classes


Class Biojs.UniProtDiseaseSummary


Version 1.0.0.

Extends Biojs.

Defined in: Biojs.UniProtDiseaseSummary.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Component to present UniProt disease information.
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)
 
setUniProtDasUrl(uniProtDasUrl)
Set an URL to start the query and visualization
Methods borrowed from class Biojs:
addListener, extend, getId, listen, raiseEvent, removeListener, setEventHandlers, setOptions
Class Detail
Biojs.UniProtDiseaseSummary(options)
Component to present UniProt disease information.
Author: Rafael C Jimenez.
var instance = new Biojs.UniProtDiseaseSummary({
	  target: 'YourOwnDivId',
		uniProtDasUrl: 'http://www.ebi.ac.uk/das-srv/uniprot/das/uniprot/features?segment=P08123;type=BS:01019',
		keywordFiltereing: ['osteogenesis','lipoblastoma'],
		proxyUrl: '../biojs/dependencies/proxy/proxy.php',		
		width: '100%',
		referencesColumnWidth: '150px',
		tableHeader: false,
		componentTitle: false
});
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} uniProtDasUrl
Url pointing to an XML including UniProt infomration in DAS format
{string} keywordFiltereing
[['cancer','brain']] List of keywords to filter disease information
{string} [proxyUrl='../biojs/dependencies/proxy/proxy.php']
Since the same origin policy (http://en.wikipedia.org/wiki/Same_origin_policy) in the browsers Biojs include a proxy script in PHP which redirects Ajax requests from local to any other domain. You can use tour own proxy script by modifying this value.
{string} width
[100%] Defines the width of the component
{string} referencesColumnWidth
[200px] Defines the width of the columns with reference links
{boolean} tableHeader
Boolean value to control the display of the table header
{boolean} componentTitle
Boolean value to control the display of the title of the component
Requires:
jQuery 1.7.2
Biojs.UniProtDiseaseSummary.css
Field Detail
<inner> eventTypes
Array containing the supported event names

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

setUniProtDasUrl(uniProtDasUrl)
Set an URL to start the query and visualization
instance.setUniProtDasUrl("http://www.ebi.ac.uk/das-srv/uniprot/das/uniprot/features?segment=P37173;type=BS:01019");
instance.setUniProtDasUrl("http://www.ebi.ac.uk/das-srv/uniprot/das/uniprot/features?segment=P08123;type=BS:01019");
Parameters:
{string} uniProtDasUrl
DAS XML

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