Name: aequatus.js
Owner: Earlham Institute
Description: Visualisation JavaScript library for Homologous Genes
Forked from: anilthanki/aequatus.js
Created: 2015-11-23 13:31:02.0
Updated: 2017-09-28 21:08:29.0
Pushed: 2017-12-06 11:07:25.0
Size: 1856
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Visualisation JavaScript library for Homologous Genes
Aequatus.js is a visualisation JavaScript library for Homologous Genes, easy to integrate with existing web services.
To use aequatus.js in your webservice use following simple snippet.
syntenic_data = json;
(syntenic_data, "#settings_div", "#filter", "#sliderfilter");
Tree(syntenic_data.tree, "#gene_tree", popup);
where settings_div
, filter_div
and sliderfilter
are ids for the divs to hold various controls, filter options and slider; and popup
is a callback for JavaScript function when clicked on any gene.
An example popup is included in the demo.
Functions:
geReference(new_gene_id, new_protein_id)
It is used to change reference gene in showing gene families.
An Example dataset is provided in the demo/data directory.
snapshot:
ef":<ref gene id>,
rotein_id":<ref protein id>,
ree":<genetree in JSON>
ember":<JSON formatted genes array>
In which genetree and each gene information can be downloaded from Ensembl using REST API.
aequatus.js is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
aequatus.js is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Aeqautus.js. If not, see http://www.gnu.org/licenses/.
© 2015 - 2016. Earlham Institute, Norwich, UK