Skip to content

Commit

Permalink
custom comparative heatmap
Browse files Browse the repository at this point in the history
  • Loading branch information
proost committed Nov 30, 2017
1 parent 9e7d62c commit e20a2bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion conekt/controllers/heatmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def heatmap_main():


@heatmap.route('/results/default', methods=['POST'] )
def heatmap_custom_normal():
def heatmap_custom_default():
form = HeatmapForm(request.form)
form.populate_species()
form.populate_options()
Expand Down
9 changes: 5 additions & 4 deletions conekt/templates/expression_heatmap.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,15 @@ <h1>Heatmap</h1>
<div class="panel with-nav-tabs panel-default">
<div class="panel-heading">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab1default" data-toggle="tab">Normal</a></li>
<li class="active"><a href="#tab1default" data-toggle="tab">Default</a></li>
<li><a href="#tab2default" data-toggle="tab">Comparative</a></li>
</ul>
</div>
<div>
<div class="tab-content">
<div class="tab-pane fade in active" id="tab1default">
<div class="panel-body">
<form method="POST" action="{{ url_for('heatmap.heatmap_custom_normal') }}" role="form">
<form method="POST" action="{{ url_for('heatmap.heatmap_custom_default') }}" role="form">
<div class="row">
<div class="col-xs-12">
{{ form.csrf_token }}
Expand Down Expand Up @@ -181,10 +181,11 @@ <h1>Heatmap</h1>
<div class="panel-heading"><strong>Help</strong></div>
<div class="panel-body">
<ul>
<li>First select the desired <strong>species</strong></li>
<li>You can generate a detailed heatmap for a single species (Default-tab) and a cross-species comparative heatmap (Comparative-tab)</li>
<li>First select the desired <strong>species</strong> <span class="text-muted">(Default only)</span></li>
<li>Next add the genes to include in the heatmap
(space, tab or line separated) in the corresponding box</li>
<li>Select if the heatmap should display raw values, zlog-transformed or row-normalized</li>
<li>Select if the heatmap should display raw values or normalized</li>
<li>Click <strong>Generate heatmap</strong></li>
</ul>
</div>
Expand Down

0 comments on commit e20a2bc

Please sign in to comment.