jupyter | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
An example of a default VolcanoPlot component without any extra properties.
import pandas as pd
import dash_bio
df = pd.read_csv(
'https://raw.githubusercontent.com/plotly/dash-bio-docs-files/master/' +
'volcano_data1.csv'
)
dash_bio.VolcanoPlot(
dataframe=df,
)
Change the size of the points on the scatter plot, and the widths of the effect lines and genome-wide line.
import pandas as pd
import dash_bio as dashbio
df = pd.read_csv('https://raw.githubusercontent.com/plotly/dash-bio-docs-files/master/volcano_data1.csv')
dashbio.VolcanoPlot(
dataframe=df,
point_size=10,
effect_size_line_width=4,
genomewideline_width=2
)
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)