Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added new section - visualizing biological data #154

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions _data/display_as.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ statistical:
ai_ml:
reference: '#ai-ml'
text: Artificial Intelligence and Machine Learning
bio:
reference: '#bio'
text: Bioinformatics
scientific:
reference: '#scientific-charts'
text: Scientific
Expand Down
8 changes: 8 additions & 0 deletions _includes/layouts/side-bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
{% assign 3d_charts = true %}
{% elsif page.display_as == "ai_ml" %}
{% assign ai_ml = true %}
{% elsif page.display_as == "bio" %}
{% assign bio = true %}
{% elsif page.display_as == "advanced_charts"%}
{% assign advanced_charts = true %}
{% elsif page.display_as == "multiple_axes" %}
Expand Down Expand Up @@ -268,6 +270,12 @@
</li>
{% endif %}

{% if bio == true %}
<li class="--sidebar-item">
<a href="/{{langue}}/bio/" class="js-splash--navigation-item">Visualizing Biological Data</a>
</li>
{% endif %}

{% if scientific == true %}
<li class="--sidebar-item">
<a href="/{{langue}}/scientific-charts/" class="js-splash--navigation-item">Scientific
Expand Down
27 changes: 27 additions & 0 deletions _includes/posts/documentation_eg.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
{% assign advanced_opt = true %}
{% elsif page.display_as == "ai_ml" %}
{% assign ai_ml = true %}
{% elsif page.display_as == "bio" %}
{% assign bio = true %}

<!-- START OF GGPLOT CUSTOM LAYOUT -->
{% elsif page.display_as == "aesthetics" %}
Expand Down Expand Up @@ -140,6 +142,31 @@
</section>
{% endif %}

{% if bio %}
<section class="--tutorial-section" id="bio">
<header class="--section-header">
{% if show_header %}

<a href="#bio">Bio</a>

{% endif %}

</header>
<section class="--grid">
<ul class="--grid-list">
{%- for page in languagelist -%}
{% if page.display_as == "bio" %}

{% include layouts/grid-item.html %}


{% endif %}
{%- endfor -%}
</ul>
</section>
</section>
{% endif %}

{% if chart_type %}
<section class="--tutorial-section">
<header class="--section-header">
Expand Down
28 changes: 28 additions & 0 deletions _posts/python/2021-10-01-bio-index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
permalink: python/bio/
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.
name: Visualizing Biological Data
layout: langindex
language: python
display_as: bio
thumbnail: thumbnail/mixed.jpg
page_type: example_index
---


<header class="--welcome">
<div class="--welcome-body">
<!--div.--wrap-inner-->
<div class="--title">
<div class="--body">
<h1>Plotly Python Open Source Graphing Library Visualizing Biological Data</h1>
<p>{{page.description}}</p><br>
{% include layouts/dashplug.html %}
</div>
</div>
</div>
</header>


{% assign languagelist = site.posts | where: "language","python" | where: "display_as","bio" | where: "layout","base" | sort: "order" %}
{% include posts/documentation_eg.html %}
Binary file added all_static/images/alignment_chart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added all_static/images/circos.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added all_static/images/clustergram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added all_static/images/molecule_3d_viewer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added all_static/images/volcano_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.