Merge pull request #3850 from bgruening/phylocanvas

Phylocanvas as a BioJS component for the Galaxy charts
This commit is contained in:
Aysam Guerler
2017-04-04 05:32:03 -04:00
committed by GitHub
10 changed files with 563 additions and 59 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -44,18 +44,15 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
/* 0 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() { return {nvd3_bar:__webpack_require__( 6 ), nvd3_bar_horizontal:__webpack_require__( 9 ), nvd3_bar_horizontal_stacked:__webpack_require__( 10 ), nvd3_bar_stacked:__webpack_require__( 11 ), nvd3_line:__webpack_require__( 12 ), nvd3_line_focus:__webpack_require__( 13 ), nvd3_scatter:__webpack_require__( 14 ), nvd3_stackedarea:__webpack_require__( 15 ), nvd3_stackedarea_full:__webpack_require__( 16 ), nvd3_stackedarea_stream:__webpack_require__( 17 ), nvd3_pie:__webpack_require__( 18 ), nvd3_histogram:__webpack_require__( 19 ), nvd3_histogram_discrete:__webpack_require__( 20 ), jqplot_bar:__webpack_require__( 21 ), jqplot_boxplot:__webpack_require__( 23 ), jqplot_histogram_discrete:__webpack_require__( 24 ), jqplot_line:__webpack_require__( 25 ), jqplot_scatter:__webpack_require__( 26 ), biojs_msa:__webpack_require__( 27 ), biojs_drawrnajs:__webpack_require__( 28 ), others_example:__webpack_require__( 29 ), others_heatmap:__webpack_require__( 30 ), others_heatmap_cluster:__webpack_require__( 31 ), cytoscape_viewer:__webpack_require__( 32 ), pv_viewer:__webpack_require__( 33 ), benfred_venn:__webpack_require__( 34 ), ngl_viewer:__webpack_require__( 35 ),} }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() { return {nvd3_bar:__webpack_require__( 3 ), nvd3_bar_horizontal:__webpack_require__( 6 ), nvd3_bar_horizontal_stacked:__webpack_require__( 7 ), nvd3_bar_stacked:__webpack_require__( 8 ), nvd3_line:__webpack_require__( 9 ), nvd3_line_focus:__webpack_require__( 10 ), nvd3_scatter:__webpack_require__( 11 ), nvd3_stackedarea:__webpack_require__( 12 ), nvd3_stackedarea_full:__webpack_require__( 13 ), nvd3_stackedarea_stream:__webpack_require__( 14 ), nvd3_pie:__webpack_require__( 15 ), nvd3_histogram:__webpack_require__( 16 ), nvd3_histogram_discrete:__webpack_require__( 17 ), jqplot_bar:__webpack_require__( 18 ), jqplot_boxplot:__webpack_require__( 20 ), jqplot_histogram_discrete:__webpack_require__( 21 ), jqplot_line:__webpack_require__( 22 ), jqplot_scatter:__webpack_require__( 23 ), biojs_msa:__webpack_require__( 24 ), biojs_drawrnajs:__webpack_require__( 25 ), biojs_phylocanvas:__webpack_require__( 26 ), others_example:__webpack_require__( 27 ), others_heatmap:__webpack_require__( 28 ), others_heatmap_cluster:__webpack_require__( 29 ), cytoscape_viewer:__webpack_require__( 30 ), pv_viewer:__webpack_require__( 31 ), benfred_venn:__webpack_require__( 32 ), ngl_viewer:__webpack_require__( 33 ),} }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 1 */,
/* 2 */,
/* 3 */,
/* 4 */,
/* 5 */,
/* 6 */
/* 3 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(7) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(4) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
return $.extend(true, {}, nvd3_config, {
title : 'Bar diagram',
description : 'Renders a regular bar diagram using NVD3 hosted at http://www.nvd3.org.',
@@ -76,10 +73,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 7 */
/* 4 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(8) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( default_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(5) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( default_config ) {
return $.extend( true, {}, default_config, {
title : '',
library : 'NVD3',
@@ -102,7 +99,7 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 8 */
/* 5 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() {
@@ -186,10 +183,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 9 */
/* 6 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(7) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(4) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
return $.extend( true, {}, nvd3_config, {
title : 'Horizontal',
description : 'Renders a horizontal bar diagram using NVD3 hosted at http://www.nvd3.org.',
@@ -210,10 +207,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 10 */
/* 7 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(7) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(4) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
return $.extend( true, {}, nvd3_config, {
title : 'Stacked horizontal',
description : 'Renders a stacked horizontal bar diagram using NVD3 hosted at http://www.nvd3.org.',
@@ -235,10 +232,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 11 */
/* 8 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(7) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(4) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
return $.extend( true, {}, nvd3_config, {
title : 'Stacked',
description : 'Renders a stacked bar diagram using NVD3 hosted at http://www.nvd3.org.',
@@ -260,10 +257,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 12 */
/* 9 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(7) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(4) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
return $.extend( true, {}, nvd3_config, {
title : 'Line chart',
description : 'Renders a line chart using NVD3 hosted at http://www.nvd3.org.',
@@ -285,10 +282,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 13 */
/* 10 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(7) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(4) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
return $.extend( true, {}, nvd3_config, {
title : 'Line with focus',
description : 'Renders a line chart with focus panel using NVD3 hosted at http://www.nvd3.org.',
@@ -310,10 +307,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 14 */
/* 11 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(7) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(4) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
return $.extend( true, {}, nvd3_config, {
title : 'Scatter plot',
description : 'Renders a scatter plot using NVD3 hosted at http://www.nvd3.org.',
@@ -334,10 +331,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 15 */
/* 12 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(7) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(4) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
return $.extend( true, {}, nvd3_config, {
title : 'Stacked area',
zoomable : true,
@@ -360,10 +357,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 16 */
/* 13 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(7) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(4) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
return $.extend( true, {}, nvd3_config, {
title : 'Expanded',
zoomable : true,
@@ -386,10 +383,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 17 */
/* 14 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(7) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(4) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( nvd3_config ) {
return $.extend(true, {}, nvd3_config, {
title : 'Stream',
description : 'Renders a stream chart using NVD3 hosted at http://www.nvd3.org.',
@@ -413,10 +410,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 18 */
/* 15 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(8) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( default_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(5) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( default_config ) {
return $.extend( true, {}, default_config, {
title : 'Pie chart',
description : 'Renders a pie chart using NVD3 hosted at http://www.nvd3.org.',
@@ -491,10 +488,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 19 */
/* 16 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(8) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( default_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(5) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( default_config ) {
return $.extend( true, {}, default_config, {
library : 'NVD3',
tag : 'svg',
@@ -523,10 +520,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 20 */
/* 17 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(8) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( default_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(5) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( default_config ) {
return $.extend(true, {}, default_config, {
library : 'NVD3',
tag : 'svg',
@@ -545,10 +542,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 21 */
/* 18 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(22) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( plot_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(19) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( plot_config ) {
return $.extend( true, {}, plot_config, {
title : 'Bar diagram',
description : 'Renders a bar diagram using jqPlot hosted at http://www.jqplot.com.',
@@ -569,10 +566,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 22 */
/* 19 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(8) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( default_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(5) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( default_config ) {
return $.extend(true, {}, default_config, {
title : '',
library : 'jqPlot',
@@ -596,10 +593,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 23 */
/* 20 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(22) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( plot_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(19) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( plot_config ) {
return $.extend( true, {}, plot_config, {
title : 'Box plot',
library : 'jqPlot',
@@ -617,10 +614,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 24 */
/* 21 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(22) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( default_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(19) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( default_config ) {
return $.extend( true, {}, default_config, {
title : 'Discrete Histogram',
description : 'Derives a discrete histogram from tabular data using R and renders a regular bar diagram using jqPlot hosted at http://www.jqplot.com.',
@@ -636,10 +633,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 25 */
/* 22 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(22) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( plot_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(19) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( plot_config ) {
return $.extend( true, {}, plot_config, {
title : 'Line chart',
description : 'Renders a line chart using jqPlot hosted at http://www.jqplot.com.',
@@ -660,10 +657,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 26 */
/* 23 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(22) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( plot_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(19) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( plot_config ) {
return $.extend( true, {}, plot_config, {
title : 'Scatter plot',
description : 'Renders a scatter plot using jqPlot hosted at http://www.jqplot.com.',
@@ -683,7 +680,7 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 27 */
/* 24 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() {
@@ -702,7 +699,7 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 28 */
/* 25 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() {
@@ -716,7 +713,98 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 29 */
/* 26 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() {
return {
title : 'Phylogenetic Tree Visualization',
library : 'BioJS',
datatypes : [ 'nhx' ],
keywords : 'biojs phylogenetic tree',
description : 'A performant, reusable, and extensible tree visualisation library for the web hosted at: http://biojs.io/d/phylocanvas',
settings : {
tree_type : {
label : 'Tree types',
help : 'Select a tree type.',
type : 'select',
display : 'radio',
value : 'rectangular',
data : [ { label : 'Circular', value : 'circular' },
{ label : 'Diagonal', value: 'diagonal' },
{ label : 'Hierarchial', value : 'hierarchical' },
{ label : 'Radial', value : 'radial' },
{ label : 'Rectangular', value : 'rectangular' } ]
},
edge_color : {
label : 'Select a color for the tree',
type : 'color',
value : '#548DB8'
},
highlighted_color: {
label : 'Select a color for the highlighted branch of tree',
type : 'color',
value : '#548DB8'
},
selected_color: {
label : 'Select a color for the selected branch of tree',
type : 'color',
value : '#00b050'
},
collapse_branch : {
label : 'Collapse the selected branch',
help : 'Select true to collapse the selected branch.',
type : 'select',
display : 'radio',
value : 'false',
data : [ { label : 'True', value : 'true' },
{ label : 'False', value : 'false' } ]
},
prune_branch : {
label : 'Prune the selected branch',
help : 'Select true to prune the selected branch.',
type : 'select',
display : 'radio',
value : 'false',
data : [ { label : 'True', value : 'true' },
{ label : 'False', value : 'false' } ]
},
show_labels: {
label : 'Show/Hide labels',
help : 'Select false to hide labels.',
type : 'select',
display : 'radio',
value : 'true',
data : [ { label : 'True', value : 'true' },
{ label : 'False', value : 'false' } ]
},
align_labels: {
label : 'Align labels',
help : 'Select to align the labels of tree. Supported with rectangular, circular, and hierarchical tree types.',
type : 'select',
display : 'radio',
value : 'true',
data : [ { label : 'True', value : 'true' },
{ label : 'False', value : 'false' } ]
},
node_shape : {
label : 'Node shapes for leaves',
help : 'Select a node shape for leaves.',
type : 'select',
display : 'radio',
value : 'circle',
data : [ { label : 'Circle', value : 'circle' },
{ label : 'Square', value: 'square' },
{ label : 'Star', value : 'star' },
{ label : 'Triangle', value : 'triangle' } ]
}
}
}
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 27 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() {
@@ -737,10 +825,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 30 */
/* 28 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(8) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( default_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(5) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( default_config ) {
return $.extend( true, {}, default_config, {
title : 'Heatmap',
description : 'Renders a heatmap from matrix data provided in 3-column format (x, y, observation).',
@@ -803,10 +891,10 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 31 */
/* 29 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(30) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( default_config ) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(28) ], __WEBPACK_AMD_DEFINE_RESULT__ = function( default_config ) {
return $.extend( true, {}, default_config, {
title : 'Clustered Heatmap',
description : 'Applies hierarchical clustering to a matrix using R. The data has to be provided in 3-column format. The result is displayed as clustered heatmap.',
@@ -815,7 +903,7 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 32 */
/* 30 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() {
@@ -908,7 +996,7 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
/***/ },
/* 33 */
/* 31 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() {
@@ -1016,7 +1104,7 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 34 */
/* 32 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() {
@@ -1045,7 +1133,7 @@ define(function() { return /******/ (function(modules) { // webpackBootstrap
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ },
/* 35 */
/* 33 */
/***/ function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() {
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
define( [], function() { return {nvd3_bar:require( "visualizations/nvd3/bar/config" ), nvd3_bar_horizontal:require( "visualizations/nvd3/bar_horizontal/config" ), nvd3_bar_horizontal_stacked:require( "visualizations/nvd3/bar_horizontal_stacked/config" ), nvd3_bar_stacked:require( "visualizations/nvd3/bar_stacked/config" ), nvd3_line:require( "visualizations/nvd3/line/config" ), nvd3_line_focus:require( "visualizations/nvd3/line_focus/config" ), nvd3_scatter:require( "visualizations/nvd3/scatter/config" ), nvd3_stackedarea:require( "visualizations/nvd3/stackedarea/config" ), nvd3_stackedarea_full:require( "visualizations/nvd3/stackedarea_full/config" ), nvd3_stackedarea_stream:require( "visualizations/nvd3/stackedarea_stream/config" ), nvd3_pie:require( "visualizations/nvd3/pie/config" ), nvd3_histogram:require( "visualizations/nvd3/histogram/config" ), nvd3_histogram_discrete:require( "visualizations/nvd3/histogram_discrete/config" ), jqplot_bar:require( "visualizations/jqplot/bar/config" ), jqplot_boxplot:require( "visualizations/jqplot/boxplot/config" ), jqplot_histogram_discrete:require( "visualizations/jqplot/histogram_discrete/config" ), jqplot_line:require( "visualizations/jqplot/line/config" ), jqplot_scatter:require( "visualizations/jqplot/scatter/config" ), biojs_msa:require( "visualizations/biojs/msa/config" ), biojs_drawrnajs:require( "visualizations/biojs/drawrnajs/config" ), others_example:require( "visualizations/others/example/config" ), others_heatmap:require( "visualizations/others/heatmap/config" ), others_heatmap_cluster:require( "visualizations/others/heatmap_cluster/config" ), cytoscape_viewer:require( "visualizations/cytoscape/viewer/config" ), pv_viewer:require( "visualizations/pv/viewer/config" ), benfred_venn:require( "visualizations/benfred/venn/config" ), ngl_viewer:require( "visualizations/ngl/viewer/config" ),} } );
define( [], function() { return {nvd3_bar:require( "visualizations/nvd3/bar/config" ), nvd3_bar_horizontal:require( "visualizations/nvd3/bar_horizontal/config" ), nvd3_bar_horizontal_stacked:require( "visualizations/nvd3/bar_horizontal_stacked/config" ), nvd3_bar_stacked:require( "visualizations/nvd3/bar_stacked/config" ), nvd3_line:require( "visualizations/nvd3/line/config" ), nvd3_line_focus:require( "visualizations/nvd3/line_focus/config" ), nvd3_scatter:require( "visualizations/nvd3/scatter/config" ), nvd3_stackedarea:require( "visualizations/nvd3/stackedarea/config" ), nvd3_stackedarea_full:require( "visualizations/nvd3/stackedarea_full/config" ), nvd3_stackedarea_stream:require( "visualizations/nvd3/stackedarea_stream/config" ), nvd3_pie:require( "visualizations/nvd3/pie/config" ), nvd3_histogram:require( "visualizations/nvd3/histogram/config" ), nvd3_histogram_discrete:require( "visualizations/nvd3/histogram_discrete/config" ), jqplot_bar:require( "visualizations/jqplot/bar/config" ), jqplot_boxplot:require( "visualizations/jqplot/boxplot/config" ), jqplot_histogram_discrete:require( "visualizations/jqplot/histogram_discrete/config" ), jqplot_line:require( "visualizations/jqplot/line/config" ), jqplot_scatter:require( "visualizations/jqplot/scatter/config" ), biojs_msa:require( "visualizations/biojs/msa/config" ), biojs_drawrnajs:require( "visualizations/biojs/drawrnajs/config" ), biojs_phylocanvas:require( "visualizations/biojs/phylocanvas/config" ), others_example:require( "visualizations/others/example/config" ), others_heatmap:require( "visualizations/others/heatmap/config" ), others_heatmap_cluster:require( "visualizations/others/heatmap_cluster/config" ), cytoscape_viewer:require( "visualizations/cytoscape/viewer/config" ), pv_viewer:require( "visualizations/pv/viewer/config" ), benfred_venn:require( "visualizations/benfred/venn/config" ), ngl_viewer:require( "visualizations/ngl/viewer/config" ),} } );
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
{
"nvd3" : [ "bar", "bar_horizontal", "bar_horizontal_stacked", "bar_stacked", "line", "line_focus", "scatter", "stackedarea", "stackedarea_full", "stackedarea_stream", "pie", "histogram", "histogram_discrete" ],
"jqplot" : [ "bar", "boxplot", "histogram_discrete", "line", "scatter" ],
"biojs" : [ "msa", "drawrnajs" ],
"biojs" : [ "msa", "drawrnajs", "phylocanvas" ],
"others" : [ "example", "heatmap", "heatmap_cluster" ],
"cytoscape" : [ "viewer" ],
"pv" : [ "viewer" ],
@@ -0,0 +1,85 @@
define( [], function() {
return {
title : 'Phylogenetic Tree Visualization',
library : 'BioJS',
datatypes : [ 'nhx' ],
keywords : 'biojs phylogenetic tree',
description : 'A performant, reusable, and extensible tree visualisation library for the web hosted at: http://biojs.io/d/phylocanvas',
settings : {
tree_type : {
label : 'Tree types',
help : 'Select a tree type.',
type : 'select',
display : 'radio',
value : 'rectangular',
data : [ { label : 'Circular', value : 'circular' },
{ label : 'Diagonal', value: 'diagonal' },
{ label : 'Hierarchial', value : 'hierarchical' },
{ label : 'Radial', value : 'radial' },
{ label : 'Rectangular', value : 'rectangular' } ]
},
edge_color : {
label : 'Select a color for the tree',
type : 'color',
value : '#548DB8'
},
highlighted_color: {
label : 'Select a color for the highlighted branch of tree',
type : 'color',
value : '#548DB8'
},
selected_color: {
label : 'Select a color for the selected branch of tree',
type : 'color',
value : '#00b050'
},
collapse_branch : {
label : 'Collapse the selected branch',
help : 'Select true to collapse the selected branch.',
type : 'select',
display : 'radio',
value : 'false',
data : [ { label : 'True', value : 'true' },
{ label : 'False', value : 'false' } ]
},
prune_branch : {
label : 'Prune the selected branch',
help : 'Select true to prune the selected branch.',
type : 'select',
display : 'radio',
value : 'false',
data : [ { label : 'True', value : 'true' },
{ label : 'False', value : 'false' } ]
},
show_labels: {
label : 'Show/Hide labels',
help : 'Select false to hide labels.',
type : 'select',
display : 'radio',
value : 'true',
data : [ { label : 'True', value : 'true' },
{ label : 'False', value : 'false' } ]
},
align_labels: {
label : 'Align labels',
help : 'Select to align the labels of tree. Supported with rectangular, circular, and hierarchical tree types.',
type : 'select',
display : 'radio',
value : 'true',
data : [ { label : 'True', value : 'true' },
{ label : 'False', value : 'false' } ]
},
node_shape : {
label : 'Node shapes for leaves',
help : 'Select a node shape for leaves.',
type : 'select',
display : 'radio',
value : 'circle',
data : [ { label : 'Circle', value : 'circle' },
{ label : 'Square', value: 'square' },
{ label : 'Star', value : 'star' },
{ label : 'Triangle', value : 'triangle' } ]
}
}
}
});
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

@@ -0,0 +1,70 @@
define( [ 'utilities/utils', 'plugins/biojs/phylocanvas/phylocanvas' ], function( Utils, Phylocanvas ) {
return Backbone.Model.extend({
initialize: function( options ) {
var chart = options.chart,
dataset = options.dataset,
settings = options.chart.settings;
Utils.get( {
url : dataset.download_url,
success : function( content ) {
try {
var tree = Phylocanvas.default.createTree( options.targets[ 0 ] ),
node_size = 20,
text_size = 20,
line_width = 2;
// Set different properties of the tree
tree.setTreeType( settings.get( 'tree_type' ) );
// Set properties related to labels
tree.showLabels = settings.get( 'show_labels' ) === "true" ? true : false;
tree.alignLabels = settings.get( 'align_labels' ) === "true" ? true : false;
// Set properties related to colors
tree.branchColour = settings.get( 'edge_color' );
tree.highlightColour = settings.get( 'highlighted_color' );
tree.selectedColour = settings.get( 'selected_color' );
// Set properties related to size
tree.setNodeSize( node_size );
tree.setTextSize( text_size );
tree.lineWidth = line_width;
// Register click event on tree
tree.on( 'click', function ( e ) {
var node = tree.getNodeAtMousePosition( e );
// Here collapse action is taking preference.
// Whenver collapse and prune both are selected true,
// collapse action will be performed
// Collapse the selected branch
if( settings.get( 'collapse_branch' ) === "true" ) {
tree.branches[ node.id ].collapsed = true;
tree.draw();
}// Prune the selected branch
else if( settings.get( 'prune_branch' ) === "true" ) {
tree.branches[ node.id ].pruned = true;
tree.draw();
}
});
// Draw the phylogenetic tree
tree.load( content );
// Set node shape
for(var j = 0, length = tree.leaves.length; j < length; j++) {
tree.leaves[ j ].nodeShape = settings.get( 'node_shape' );
}
tree.draw();
chart.state( 'ok', 'Done.' );
options.process.resolve();
// Adjust the size of tree on window resize
$( window ).resize( function() {
tree.fitInPanel( tree.leaves ); tree.draw();
} );
} catch( err ) {
chart.state( 'failed', err );
}
},
error: function() {
chart.state( 'failed', 'Failed to access dataset.' );
options.process.resolve();
}
});
}
});
});