Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shiny-timecourse-inspector
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pertz-lab
shiny-timecourse-inspector
Commits
6677be01
Commit
6677be01
authored
Oct 08, 2019
by
dmattek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed checks for NULL data to validate-need syntax.
parent
ef30c0f0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
18 deletions
+9
-18
modules/aucPlot.R
modules/aucPlot.R
+9
-18
No files found.
modules/aucPlot.R
View file @
6677be01
...
...
@@ -125,12 +125,6 @@ modAUCplot = function(input, output, session,
# Boxplot - display
output
$
outPlotBox
=
renderPlot
({
locBut
=
input
$
butPlot
if
(
locBut
==
0
)
{
cat
(
file
=
stderr
(),
'aucPlot:Go button not pressed\n'
)
return
(
NULL
)
}
plotBox
()
...
...
@@ -138,12 +132,6 @@ modAUCplot = function(input, output, session,
output
$
outPlotBoxInt
=
renderPlotly
({
locBut
=
input
$
butPlot
if
(
locBut
==
0
)
{
cat
(
file
=
stderr
(),
'aucPlot:Go button not pressed\n'
)
return
(
NULL
)
}
# This is required to avoid
# "Warning: Error in <Anonymous>: cannot open file 'Rplots.pdf'"
...
...
@@ -180,13 +168,16 @@ modAUCplot = function(input, output, session,
plotBox
<-
function
()
{
cat
(
file
=
stderr
(),
'aucPlot:plotBox\n'
)
loc.dt
=
in.data
()
# make the f-n dependent on the button click
locBut
=
input
$
butPlot
cat
(
file
=
stderr
(),
"plotBox: on to plot\n\n"
)
if
(
is.null
(
loc.dt
))
{
cat
(
file
=
stderr
(),
'plotBox: dt is NULL\n'
)
return
(
NULL
)
}
# Check if main data exists
# Thanks to solate all mods in the left panel are delayed
# until clicking the Plot button
loc.dt
=
isolate
(
in.data
())
validate
(
need
(
!
is.null
(
loc.dt
),
"Nothing to plot. Load data first!"
)
)
cat
(
file
=
stderr
(),
'plotBox:dt not NULL\n'
)
...
...
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