Skip to content

Changing dash-bio links to git.io #3450

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

Merged
merged 1 commit into from
Nov 2, 2021
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
4 changes: 2 additions & 2 deletions doc/python/bio-alignment-chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Note that the AlignmentChart only returns a chart of the sequence, while Alignme
import plotly.express as px
import pandas as pd

df = (pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/Dash_Bio/Genetic/gene_conservation.csv')
df = (pd.read_csv('https://git.io/gene_conservation.csv')
.set_index('0')
.loc[['consensus','conservation']]
.T
Expand All @@ -56,7 +56,7 @@ fig.show()

## Alignment Chart in dash_bio

```python no_display=true
```python hide_code=true
from IPython.display import IFrame
snippet_url = 'https://dash-gallery.plotly.host/python-docs-dash-snippets/'
IFrame(snippet_url + 'bio-alignmentchart', width='100%', height=630)
Expand Down
19 changes: 6 additions & 13 deletions doc/python/bio-clustergram.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ import pandas as pd
import dash_bio


df = pd.read_csv(
'https://raw.githubusercontent.com/plotly/datasets/master/Dash_Bio/Chromosomal/' +
'clustergram_brain_cancer.csv',
)
df = pd.read_csv('https://git.io/clustergram_brain_cancer.csv')

dash_bio.Clustergram(
data=df,
Expand All @@ -62,10 +59,8 @@ Change the colors of the dendrogram traces that are used to represent clusters,
import pandas as pd
import dash_bio

df = pd.read_csv(
'https://raw.githubusercontent.com/plotly/datasets/master/Dash_Bio/Chromosomal/' +
'clustergram_brain_cancer.csv',
)

df = pd.read_csv('https://git.io/clustergram_brain_cancer.csv')

dash_bio.Clustergram(
data=df,
Expand All @@ -90,10 +85,8 @@ Change the relative width and height of, respectively, the row and column dendro
import pandas as pd
import dash_bio

df = pd.read_csv(
'https://raw.githubusercontent.com/plotly/datasets/master/Dash_Bio/Chromosomal/' +
'clustergram_brain_cancer.csv',
)

df = pd.read_csv('https://git.io/clustergram_brain_cancer.csv')

dash_bio.Clustergram(
data=df,
Expand All @@ -107,7 +100,7 @@ dash_bio.Clustergram(

## Clustergram with Dash

```python no_display=true
```python hide_code=true
from IPython.display import IFrame
snippet_url = 'https://dash-gallery.plotly.host/python-docs-dash-snippets/'
IFrame(snippet_url + 'bio-clustergram', width='100%', height=630)
Expand Down
7 changes: 4 additions & 3 deletions doc/python/bio-manhattanplot.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ ManhattanPlot allows you to visualize genome-wide association studies (GWAS) eff
import pandas as pd
import dash_bio

df = pd.read_csv('https://raw.githubusercontent.com/plotly/dash-bio-docs-files/master/manhattan_data.csv')

df = pd.read_csv('https://git.io/manhattan_data.csv')


dash_bio.ManhattanPlot(
Expand All @@ -56,7 +57,7 @@ import pandas as pd
import dash_bio


df = pd.read_csv('https://raw.githubusercontent.com/plotly/dash-bio-docs-files/master/manhattan_data.csv')
df = pd.read_csv('https://git.io/manhattan_data.csv')

dash_bio.ManhattanPlot(
dataframe=df,
Expand All @@ -68,7 +69,7 @@ dash_bio.ManhattanPlot(

## ManhattanPlot with Dash

```python no_display=true
```python hide_code=true
from IPython.display import IFrame
snippet_url = 'https://dash-gallery.plotly.host/python-docs-dash-snippets/'
IFrame(snippet_url + 'bio-manhattanplot', width='100%', height=630)
Expand Down
10 changes: 4 additions & 6 deletions doc/python/bio-volcano-plot.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ import pandas as pd
import dash_bio


df = pd.read_csv(
'https://raw.githubusercontent.com/plotly/dash-bio-docs-files/master/' +
'volcano_data1.csv'
)
df = pd.read_csv('https://git.io/volcano_data1.csv')

dash_bio.VolcanoPlot(
dataframe=df,
Expand All @@ -59,7 +56,8 @@ Change the size of the points on the scatter plot, and the widths of the effect
import pandas as pd
import dash_bio

df = pd.read_csv('https://raw.githubusercontent.com/plotly/dash-bio-docs-files/master/volcano_data1.csv')

df = pd.read_csv('https://git.io/volcano_data1.csv')

dash_bio.VolcanoPlot(
dataframe=df,
Expand All @@ -71,7 +69,7 @@ dash_bio.VolcanoPlot(

## VolcanoPlot with Dash

```python no_display=true
```python hide_code=true
from IPython.display import IFrame
snippet_url = 'https://dash-gallery.plotly.host/python-docs-dash-snippets/'
IFrame(snippet_url + 'bio-volcano', width='100%', height=630)
Expand Down