function parseEffectsDataToHtml (data) {
                    var effects = '';
                    if (Object.keys(data).length === 0) {
                        effects = 'No data available for this publication';
                    } else {
                        for (var i in data) {
                            effects += '<h6>' + otUpperCaseFirstFilter(otClearUnderscoresFilter(i)) + '<span style="display:none">: </span></h6>';
                            effects += parseArrayToList(data[i], '/disease/');
                        }
                    }
                    return effects;
                }
/*
                 * Takes an object like antagonism_inhibition_effects or agonism_activation_effects
                 * and returns the html to insert in the table cell.
                 */
Takes an object like antagonism_inhibition_effects or agonism_activation_effects
and returns the html to insert in the table cell.
Takes an object like antagonism_inhibition_effects or agonism_activation_effects and returns the html to insert in the table cell .
function parseEffectsDataToHtml (data) {
                    var effects = '';
                    if (Object.keys(data).length === 0) {
                        effects = 'No data available for this publication';
                    } else {
                        for (var i in data) {
                            effects += '<h6>' + otUpperCaseFirstFilter(otClearUnderscoresFilter(i)) + '<span style="display:none">: </span></h6>';
                            effects += parseArrayToList(data[i], '/disease/');
                        }
                    }
                    return effects;
                }
function parseEffectsDataToHtml ( data ) { var effects = '' ; if ( Object . keys ( data ) . length === 0 ) { effects = 'No data available for this publication' ; } else { for ( var i in data ) { effects += '<h6>' + otUpperCaseFirstFilter ( otClearUnderscoresFilter ( i ) ) + '<span style="display:none">: </span></h6>' ; effects += parseArrayToList ( data [ i ] , '/disease/' ) ; } } return effects ; }
Takes an object like antagonism_inhibition_effects or agonism_activation_effects
 and returns the html to insert in the table cell.
Takes an object like antagonism_inhibition_effects or agonism_activation_effects and returns the html to insert in the table cell .