Skip to content

Commit 94d08db

Browse files
HammadTheOnerpkyle
authored andcommitted
Update Dash logos in all dashBio apps (plotly#265)
* New Plotly/Dash logo. * Update logo and header. * Update Clustergram logo and header * Update README.MD * Update logo and readme. * Update README.MD * Update ManhattanPlot logo/header * Update mol3d logo/header * Update needleplot headers/logos * Update oncoprint logo/header * Update Speck logo/header * Updated headers and logo's * Whitespace fixes * Update app.R * Update app.R * Create plotly-dash-bio-logo.png * Added logo.png to assets for Alignment-Viewer * Fixed css issue * Update general-app-page.css
1 parent fdf543c commit 94d08db

File tree

23 files changed

+69
-43
lines changed

23 files changed

+69
-43
lines changed

apps/dashr-alignment-viewer/app.R

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -504,13 +504,13 @@ alignlayout <- htmlDiv(id="alignment-body", className="app-body",children=list(
504504
###HEADER###
505505
header <- htmlDiv(children = list(
506506
htmlSpan(list(htmlA(
507-
htmlImg(src='assets/index.png',
508-
height = '50',
509-
width = '50',
510-
style = list('top' = '10', 'margin-left' = '10px')),
507+
children = list(
508+
htmlImg(src='assets/plotly-dash-bio-logo.png', height = '36', width = '180',
509+
style = list('top' = '10', 'margin-left' = '10px', 'margin-top' = '20px', 'margin-right' = '20px'))
510+
),
511511
href='https://dash-bio.plotly.host/Portal/'
512512
))),
513-
"Dash Alignment Viewer",
513+
"Alignment Viewer",
514514

515515
htmlA(href="https://github.com/plotly/dash-sample-apps/blob/master/apps/dashr-alignment-viewer/app.R",
516516
style = list("color" = "white",

apps/dashr-alignment-viewer/assets/general-app-page.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "assets/openSansFont.css";
1+
@import "openSansFont.css";
22

33
.dashbio-loading {
44
display: inline-block;
4.92 KB
Loading

apps/dashr-clustergram/README.MD

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,32 @@
1-
Hello
1+
# DashR Clustergram
2+
3+
## About this App:
4+
5+
Clustergram is a combination of a heatmap and dendrograms that allows you to display hierarchical clustering data. Clusters on the dendrograms are highlighted in one color if they comprise data points that share some minimal level of correlation.
6+
7+
In the "Data" tab, you can select a preloaded dataset to display or, alternatively, upload one of your own. A sample dataset is also available for download in the tab.
8+
9+
In the "Graph" tab, you can choose the dimension(s) along which clustering will be performed (row or column). You can also change the threshold that determines the point at which clusters are highlighted for the row and column dendrograms, and choose which rows and columns are used to compute the clustering.
10+
11+
In addition, you can highlight specific clusters by adding annotations to the clustergram, and choose whether to show or hide the labels for the rows and/or columns.
12+
13+
Github Repo: [plotly/dash-sample-apps](https://github.com/plotly/dash-sample-apps/)
14+
15+
16+
## How to Run the App:
17+
18+
Clone the repository.
19+
20+
Run `app.R`
21+
22+
The app will load into your default browser window. If it does not, navigate to 127.0.0.1:8050.
23+
24+
## Screenshots:
25+
26+
![ClustergramMain.png](assets/ClustergramMain.png)
27+
28+
29+
## More:
30+
31+
Learn more about Plotly and Dash [here](https://plot.ly/dash).
32+
#

apps/dashr-clustergram/Rplot001.jpg

Loading

apps/dashr-clustergram/app.R

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,12 @@ header <- htmlDiv(
4141
htmlA(
4242
id = "dashbio-logo",
4343
children = list(
44-
htmlImg(
45-
src = "assets/dashbio_logo_transparent.png"
46-
)
44+
htmlImg(src='assets/plotly-dash-bio-logo.png', height = '36', width = '180',
45+
style = list('top' = '10', 'margin-left' = '10px'))
4746
),
4847
href = "/Portal"
4948
),
50-
htmlH2("Dash Clustergram"),
49+
htmlH2("Clustergram"),
5150
htmlA(
5251
id = "gh-link",
5352
children = list("View on GitHub"),
122 KB
Loading
4.92 KB
Loading

apps/dashr-ideogram/app.R

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ listOfOptions <- lapply(chromosomes, function(x) {
259259
dccDropdown(
260260
className = 'ideogram-dropdown',
261261
id = 'displayed-chromosomes',
262-
options = listOfoptions,
262+
options = listOfOptions,
263263
multi = TRUE,
264264
value = listofchromosomes
265265
)
@@ -274,14 +274,14 @@ listOfOptions <- lapply(chromosomes, function(x) {
274274
dccDropdown(
275275
className = 'ideogram-dropdown',
276276
id = 'chr-select-1',
277-
options = listofOptions , value = '1'
277+
options = listOfOptions , value = '1'
278278
),
279279

280280
dccDropdown(
281281
className = 'ideogram-dropdown',
282282
id = 'chr-select-2',
283283
value = '2',
284-
options = listofOptions
284+
options = listOfOptions
285285
),
286286

287287
chromosome_div(
@@ -309,7 +309,7 @@ listOfOptions <- lapply(chromosomes, function(x) {
309309
dccDropdown(
310310
className = 'ideogram-dropdown',
311311
id = 'chr-brush',
312-
options = listofOptions, value = 'X'
312+
options = listOfOptions, value = 'X'
313313
)
314314
)),
315315

@@ -547,11 +547,11 @@ listOfOptions <- lapply(chromosomes, function(x) {
547547

548548
header <- htmlDiv(children = list(
549549
htmlSpan(list(htmlA(
550-
htmlImg(src='assets/index.png', height = '50', width = '50',
551-
style = list('top' = '10', 'margin-left' = '10px')),
550+
htmlImg(src='assets/plotly-dash-bio-logo.png', height = '36', width = '180',
551+
style = list('top' = '10', 'margin-left' = '10px', 'margin-right' = '15px')),
552552
href='https://dash-bio.plotly.host/Portal/'))),
553553

554-
" Dash Ideogram",
554+
"Ideogram",
555555

556556

557557
htmlA(href="http://github.com/plotly/dash-bio/blob/master/tests/dashbio_demos/app_ideogram.py",
@@ -1064,3 +1064,5 @@ if (appName != "") {
10641064
app$run_server(showcase = TRUE)
10651065

10661066
}
1067+
1068+

apps/dashr-ideogram/assets/general-app-page.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "assets/openSansFont.css";
1+
@import "openSansFont.css";
22

33
.dashbio-loading {
44
display: inline-block;

0 commit comments

Comments
 (0)