-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocument.py
63 lines (53 loc) · 1.74 KB
/
document.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
from dash import html, dcc
import dash_bootstrap_components as dbc
import navigation as nav
import footer
###################################
# Documentation card contents
discription = dcc.Markdown('''
## Clover
Clover is a package for prioritising unexpected rare genes in a differentially
expressed gene (DEG) list. We used this tool to rank DEGs from bulk RNA-seq analysis,
but any gene list with an FDR value (statistically significant value of differentially
expressed) is applicable.
Also, please see the GitHub repository for the code:
[https://github.com/G708/Clover](https://github.com/G708/Clover)
''',
link_target="_blank",
)
####################################################
# Size setting
# Left side of the app for selecting features
width = '50%'
display = 'inline-block'
vertical_align = 'top'
padding = {
"padding-left": "10%", "padding-right": "10%",
"padding-top": "2%", "padding-bottom": "2%",
"width": "100%"
}
def build_layout():
layout = html.Div(
children=[
nav.LAYOUT,
html.Div(
children=[
html.H2(children='Document', style={"text-align": "center"}),
html.Div(
children=[
dbc.Card(
dbc.CardBody(
[
discription
]
)
),
]
),
],style={"padding-left": "5%", "padding-right": "5%", "width": "100%"},
),
dbc.Row(html.Hr(), style={'height': '3%'}),
footer.LAYOUT
],
)
return layout