Skip to content

Commit 033498f

Browse files
olaywaysmallstepmanHammadTheOne
authored
added new section - visualizing biological data (#154)
* added new section - visualizing biological data * Update _posts/python/2021-10-01-bio-index.html Co-authored-by: HammadTheOne <[email protected]> * Update display_as.yml Co-authored-by: smallstepman <[email protected]> Co-authored-by: HammadTheOne <[email protected]>
1 parent 7bd5ed7 commit 033498f

File tree

9 files changed

+66
-0
lines changed

9 files changed

+66
-0
lines changed

_data/display_as.yml

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ statistical:
2222
ai_ml:
2323
reference: '#ai-ml'
2424
text: Artificial Intelligence and Machine Learning
25+
bio:
26+
reference: '#bio'
27+
text: Bioinformatics
2528
scientific:
2629
reference: '#scientific-charts'
2730
text: Scientific

_includes/layouts/side-bar.html

+8
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
{% assign 3d_charts = true %}
4242
{% elsif page.display_as == "ai_ml" %}
4343
{% assign ai_ml = true %}
44+
{% elsif page.display_as == "bio" %}
45+
{% assign bio = true %}
4446
{% elsif page.display_as == "advanced_charts"%}
4547
{% assign advanced_charts = true %}
4648
{% elsif page.display_as == "multiple_axes" %}
@@ -267,6 +269,12 @@
267269
</li>
268270
{% endif %}
269271

272+
{% if bio == true %}
273+
<li class="--sidebar-item">
274+
<a href="/{{langue}}/bio/" class="js-splash--navigation-item">Visualizing Biological Data</a>
275+
</li>
276+
{% endif %}
277+
270278
{% if scientific == true %}
271279
<li class="--sidebar-item">
272280
<a href="/{{langue}}/scientific-charts/" class="js-splash--navigation-item">Scientific

_includes/posts/documentation_eg.html

+27
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
{% assign advanced_opt = true %}
4141
{% elsif page.display_as == "ai_ml" %}
4242
{% assign ai_ml = true %}
43+
{% elsif page.display_as == "bio" %}
44+
{% assign bio = true %}
4345

4446
<!-- START OF GGPLOT CUSTOM LAYOUT -->
4547
{% elsif page.display_as == "aesthetics" %}
@@ -140,6 +142,31 @@
140142
</section>
141143
{% endif %}
142144

145+
{% if bio %}
146+
<section class="--tutorial-section" id="bio">
147+
<header class="--section-header">
148+
{% if show_header %}
149+
150+
<a href="#bio">Bio</a>
151+
152+
{% endif %}
153+
154+
</header>
155+
<section class="--grid">
156+
<ul class="--grid-list">
157+
{%- for page in languagelist -%}
158+
{% if page.display_as == "bio" %}
159+
160+
{% include layouts/grid-item.html %}
161+
162+
163+
{% endif %}
164+
{%- endfor -%}
165+
</ul>
166+
</section>
167+
</section>
168+
{% endif %}
169+
143170
{% if chart_type %}
144171
<section class="--tutorial-section">
145172
<header class="--section-header">
+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
permalink: python/bio/
3+
description: Dash Bio is a suite of bioinformatics components that make it simple to analyze, visualize, and interact with bioinformatics data in a Dash application.
4+
name: Visualizing Biological Data
5+
layout: langindex
6+
language: python
7+
display_as: bio
8+
thumbnail: thumbnail/mixed.jpg
9+
page_type: example_index
10+
---
11+
12+
13+
<header class="--welcome">
14+
<div class="--welcome-body">
15+
<!--div.--wrap-inner-->
16+
<div class="--title">
17+
<div class="--body">
18+
<h1>Plotly Python Open Source Graphing Library Visualizing Biological Data</h1>
19+
<p>{{page.description}}</p><br>
20+
{% include layouts/dashplug.html %}
21+
</div>
22+
</div>
23+
</div>
24+
</header>
25+
26+
27+
{% assign languagelist = site.posts | where: "language","python" | where: "display_as","bio" | where: "layout","base" | sort: "order" %}
28+
{% include posts/documentation_eg.html %}

all_static/images/alignment_chart.png

74.3 KB
Loading

all_static/images/circos.png

31.7 KB
Loading

all_static/images/clustergram.png

5.94 KB
Loading
52.8 KB
Loading

all_static/images/volcano_plot.png

14.5 KB
Loading

0 commit comments

Comments
 (0)