<commit_before><script type="text/javascript" src="js/src/coExpression.js"></script>
<script type="text/javascript" src="js/src/plots-view/PlotsBoilerplate.js"></script>
<script type="text/javascript" src="js/src/plots-view/data/CoexpPlotsProxy.js"></script>
<script type="text/javascript" src="js/src/plots-view/view/CoexpPlotsView.js"></script>
<script type="text/javascript" src="js/src/plots-view/CoexpPlots.js"></script>
<script type="text/javascript" src="js/src/plots-view/component/ScatterPlots.js"></script>
<script type="text/javascript" src="js/src/plots-view/component/PlotsHeader.js"></script>

<style>
    #coexp .coexp-table-filter-custom {
        width: 400px;
        float: left;
    }
    #coexp .datatables_filter {
        width: 300px;
        float: left;
        margin-left: 0px;
        text-align: left;
        font-size: 11px;
        padding-left: 6px;
    }
    #coexp .dataTables_paginate {
        float: right;
        padding: 3px;
    }
    #coexp .paging_full_numbers .ui-button {
        border: 1px solid #aaa;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        padding: 2px 5px;
        margin: 0 3px;
        cursor: hand;
        text-align: left;
    }
    #coexp .dataTables_info {
        float: left;
        width: auto;
    }
    #coexp .coexp-tabs-ref {
        font-size: 11px !important;
    }
    #coexp .coexp-table {
        width: 100%;
    }
    #coexp .coexp-plots {
        float: left;
    }
    #coexp p {
        font-size: 12px;
        display: block;
        text-align: left;
        font-family: Verdana,Arial,sans-serif;
        margin-bottom: 12px;
    }
    .ui-state-disabled {
        display: none;
    }  

</style>

<div class="section" id="coexp">
    <p style='margin-top: -25px;'>
        <div id='coexp-profile-selector-dropdown'></div>
        This table lists the genes with the highest expression correlation with the query genes. Click on a row to see the corresponding correlation plot. 
        <img src='images/help.png' id='coexp-help'>
    </p>
    <div id="coexp-tabs" class="coexp-tabs">
        <ul id='coexp-tabs-list'></ul>
        <div id='coexp-tabs-content'></div>
    </div>
</div>

<script>
    $(document).ready( function() {
        var coexp_tab_init = false;
        $("#tabs").bind("tabsactivate", function(event, ui) {
            if (ui.newTab.text().trim().toLowerCase() === "co-expression") {
                if (coexp_tab_init === false) {
                    CoExpView.init();
                    coexp_tab_init = true;
                } else {
                    $(window).trigger("resize");
                }
            }
        });
    });
    $("#coexp-help").qtip({
        content: { text:'Pearson correlations are computed first. For genes with a correlation greater than 0.3 or less than -0.3, the Spearman correlations are also computed. By default, only gene pairs with values > 0.3 or < -0.3 in both measures are shown.'},
        style: { classes: 'ui-tooltip-light ui-tooltip-rounded ui-tooltip-shadow ui-tooltip-lightyellow' },
        show: {event: "mouseover"},
        hide: {fixed:true, delay: 100, event: "mouseout"},
        position: {my:'left bottom',at:'top right'}<commit_msg>Fixed issue #502<commit_after><script type="text/javascript" src="js/src/coExpression.js"></script>
<script type="text/javascript" src="js/src/plots-view/PlotsBoilerplate.js"></script>
<script type="text/javascript" src="js/src/plots-view/data/CoexpPlotsProxy.js"></script>
<script type="text/javascript" src="js/src/plots-view/view/CoexpPlotsView.js"></script>
<script type="text/javascript" src="js/src/plots-view/CoexpPlots.js"></script>
<script type="text/javascript" src="js/src/plots-view/component/ScatterPlots.js"></script>
<script type="text/javascript" src="js/src/plots-view/component/PlotsHeader.js"></script>

<style>
    #coexp .coexp-table-filter-custom {
        width: 400px;
        float: left;
    }
    #coexp .datatables_filter {
        width: 300px;
        float: left;
        margin-left: 0px;
        text-align: left;
        font-size: 11px;
        padding-left: 6px;
    }
    #coexp .dataTables_paginate {
        float: right;
        padding: 3px;
    }
    #coexp .paging_full_numbers .ui-button {
        border: 1px solid #aaa;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        padding: 2px 5px;
        margin: 0 3px;
        cursor: hand;
        text-align: left;
    }
    #coexp .dataTables_info {
        float: left;
        width: auto;
    }
    #coexp .coexp-tabs-ref {
        font-size: 11px !important;
    }
    #coexp .coexp-table {
        width: 100%;
    }
    #coexp .coexp-plots {
        float: left;
    }
    #coexp p {
        font-size: 12px;
        display: block;
        text-align: left;
        font-family: Verdana,Arial,sans-serif;
        margin-bottom: 12px;
    }
    .ui-state-disabled {
        display: none;
    }  

</style>

<div class="section" id="coexp">
    <p style='margin-top: -35px;'>
        <div id='coexp-profile-selector-dropdown'></div>
        This table lists the genes with the highest expression correlation with the query genes. Click on a row to see the corresponding correlation plot. 
        <img src='images/help.png' id='coexp-help'>
    </p>
    <div id="coexp-tabs" class="coexp-tabs">
        <ul id='coexp-tabs-list'></ul>
        <div id='coexp-tabs-content'></div>
    </div>
</div>

<script>
    $(document).ready( function() {
        var coexp_tab_init = false;
        $("#tabs").bind("tabsactivate", function(event, ui) {
            if (ui.newTab.text().trim().toLowerCase() === "co-expression") {
                if (coexp_tab_init === false) {
                    CoExpView.init();
                    coexp_tab_init = true;
                } else {
                    $(window).trigger("resize");
                }
            }
        });
    });
    $("#coexp-help").qtip({
        content: { text:'Pearson correlations are computed first. For genes with a correlation greater than 0.3 or less than -0.3, the Spearman correlations are also computed. By default, only gene pairs with values > 0.3 or < -0.3 in both measures are shown.'},
        style: { classes: 'ui-tooltip-light ui-tooltip-rounded ui-tooltip-shadow ui-tooltip-lightyellow' },
        show: {event: "mouseover"},
        hide: {fixed:true, delay: 100, event: "mouseout"},
        position: {my:'left bottom',at:'top right'}
{'fraction_non_alphanumeric': 0.15017749652724185, 'fraction_numerical': 0.012810618922673251, 'mean_word_length': 2.3010697911360163, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 65, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3516587', 'n_tokens_mistral': 2180, 'n_tokens_neox': 2067, 'n_words': 457}