Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
migale
affiliationExplorer
Commits
12623115
Commit
12623115
authored
Feb 18, 2020
by
mahendra-mariadassou
Browse files
Change button text and help message
parent
9aece624
Changes
2
Hide whitespace changes
Inline
Side-by-side
R/app_server.R
View file @
12623115
...
...
@@ -54,10 +54,10 @@ app_server <- function(input, output, session) {
# Extract Affiliation for a given OTU
data
$
affi
<-
extract_affiliation
(
affi
,
input
$
asv
)
%>%
dplyr
::
distinct
()
amb
<-
find_level
(
data
$
affi
)
output
$
txt
<-
renderUI
(
HTML
({
paste
(
"<p><b>"
,
input
$
asv
,
"- "
,
nrow
(
data
$
affi
)
,
"conflicting affiliation, ambiguity at rank "
,
amb
,
"</b></p>"
)}))
output
$
txt
<-
renderUI
(
HTML
({
paste
(
"<p><b>"
,
input
$
asv
,
"- "
,
nrow
(
data
$
affi
)
,
"conflicting affiliation
s
, ambiguity at rank "
,
amb
,
"</b></p>"
)}))
output
$
help
<-
renderUI
(
HTML
({
paste
(
"<cite>Select
a
n affiliation by clicking on a row.<br/>"
,
"
It is possible to change the affiliation by double clicking on a cell in the table.
</cite>"
)}))
output
$
help
<-
renderUI
(
HTML
({
paste
(
"<cite>Select n
ew
affiliation by clicking on a row
(double click on a cell to edit its content)
.<br/>"
,
"
Click \"Update ASV\" to update affiliation (with selected row) or \"Skip ASV\" to move to the next one
</cite>"
)}))
output
$
table
<-
DT
::
renderDT
({
data
$
affi
},
selection
=
list
(
mode
=
'single'
,
selected
=
NULL
,
target
=
'row'
),
...
...
R/app_ui.R
View file @
12623115
...
...
@@ -42,7 +42,7 @@ app_ui <- function() {
#HTML("<br/>"),
htmlOutput
(
"selection"
),
HTML
(
"<br/>"
),
actionButton
(
"clean"
,
"
Clean
ASV"
),
actionButton
(
"clean"
,
"
Update
ASV"
),
actionButton
(
"skip"
,
"Skip ASV"
),
downloadButton
(
"download"
,
"Download"
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment