File tree 1 file changed +76
-0
lines changed
1 file changed +76
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ jupyter :
3
+ celltoolbar : Tags
4
+ jupytext :
5
+ notebook_metadata_filter : all
6
+ text_representation :
7
+ extension : .md
8
+ format_name : markdown
9
+ format_version : ' 1.3'
10
+ jupytext_version : 1.13.0
11
+ kernelspec :
12
+ display_name : Python 3 (ipykernel)
13
+ language : python
14
+ name : python3
15
+ language_info :
16
+ codemirror_mode :
17
+ name : ipython
18
+ version : 3
19
+ file_extension : .py
20
+ mimetype : text/x-python
21
+ name : python
22
+ nbconvert_exporter : python
23
+ pygments_lexer : ipython3
24
+ version : 3.9.7
25
+ plotly :
26
+ display_as : bio
27
+ language : python
28
+ layout : base
29
+ name : Volcano plot
30
+ order : 1
31
+ page_type : u-guide
32
+ permalink : python/volcano-plot/
33
+ thumbnail : thumbnail/volcano-plot.png
34
+ ---
35
+
36
+ ## Manhattan Plot
37
+
38
+ An example of a default ManhattanPlot component without any extra properties.
39
+
40
+ ``` python
41
+ import pandas as pd
42
+ import dash_bio as dashbio
43
+
44
+ df = pd.read_csv(' https://raw.githubusercontent.com/plotly/dash-bio-docs-files/master/manhattan_data.csv' )
45
+
46
+
47
+ dashbio.ManhattanPlot(
48
+ dataframe = df,
49
+ )
50
+ ```
51
+
52
+ ## Highlighted points color, and colors of the suggestive line and the genome-wide line.
53
+ Change the color of the points that are considered significant.
54
+
55
+ ``` python
56
+ import pandas as pd
57
+ import dash_bio as dashbio
58
+
59
+
60
+ df = pd.read_csv(' https://raw.githubusercontent.com/plotly/dash-bio-docs-files/master/manhattan_data.csv' )
61
+
62
+ dashbio.ManhattanPlot(
63
+ dataframe = df,
64
+ highlight_color = ' #00FFAA' ,
65
+ suggestiveline_color = ' #AA00AA' ,
66
+ genomewideline_color = ' #AA5500'
67
+ )
68
+ ```
69
+
70
+ ## ManhattanPlot with Dash
71
+
72
+ ``` python no_display=true
73
+ from IPython.display import IFrame
74
+ snippet_url = ' https://dash-gallery.plotly.host/python-docs-dash-snippets/'
75
+ IFrame(snippet_url + ' bio-manhattanplot' , width = ' 100%' , height = 630 )
76
+ ```
You can’t perform that action at this time.
0 commit comments