Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7ffe2aa

Browse files
committed
Title, logo and github link
=
1 parent59be105 commit7ffe2aa

File tree

4 files changed

+16
-18
lines changed

4 files changed

+16
-18
lines changed

‎R/run_app.R‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ NULL
1616
#' run_app()
1717
#' }
1818
run_app<-function() {
19+
addResourcePath("assets", system.file("www",package="visxhclust") )
1920
shiny::shinyApp(app_ui,app_server,options=list(launch.browser=TRUE))
2021
}

‎R/server.R‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ utils::globalVariables(c("where"))
66
#' @noRd
77
app_server<-function(input,output,session) {
88

9-
shinyhelper::observe_helpers(help_dir= system.file("helpfiles",
10-
package=utils::packageName()))
11-
129

1310

11+
shinyhelper::observe_helpers(help_dir= system.file("helpfiles",
12+
package=utils::packageName()))
1413
session_values<- reactiveValues(numeric_vars=list(),
1514
annotation_vars=list())
1615
dropped_variables<- reactiveVal(NULL)

‎R/ui.R‎

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,21 @@ app_ui <- function(request) {
1313
div.shinyhelper-container { right: 25px; }
1414
.shiny-output-error-validation { min-height: 50px }
1515
.table { white-space: nowrap; }
16-
tbody td:first-child { left:0; z-index: 1 }"
16+
tbody td:first-child { left:0; z-index: 1 }
17+
.align-right { margin-right: 5; float: right }
18+
.align-right img { vertical-align: middle;}
19+
.header-panel { margin-top: 5px; margin-bottom: 5px }
20+
"
1721
)
18-
)),
22+
),
1923
# Application title
20-
titlePanel(paste(utils::packageName(),": visual exploration of hierarchical clustering")),
24+
tags$title(paste(utils::packageName(),": visual exploration of hierarchical clustering"))),
25+
tags$div(
26+
span(paste(utils::packageName(),": visual exploration of hierarchical clustering"),class="h2"),
27+
span(a(img(src="assets/github.png",height="20px",width="20px"),href="http://github.com/rhenkin/visxhclust"),
28+
class="align-right"),
29+
class="header-panel"
30+
),
2131
# Sidebar -----------------------------------------------------------
2232
sidebarLayout(
2333
sidebarPanel(
@@ -42,18 +52,6 @@ app_ui <- function(request) {
4252
),
4353
type="hidden"
4454
)
45-
),
46-
fluidRow(
47-
div(
48-
style="margin: 15px",
49-
"Created at the",
50-
a(
51-
"Centre for Translational Bioinformatics",
52-
href="https://www.qmul.ac.uk/c4tb/",
53-
target="blank"
54-
),
55-
"at Queen Mary, University of London."
56-
)
5755
)
5856
)
5957
}

‎inst/www/github.png‎

1.67 KB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp