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
5d11aefb
Commit
5d11aefb
authored
Sep 24, 2019
by
dmattek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed output in debug mode
parent
61f2fcf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/selOutliers.R
modules/selOutliers.R
+4
-4
No files found.
modules/selOutliers.R
View file @
5d11aefb
...
...
@@ -199,7 +199,7 @@ modSelOutliers = function(input, output, session, in.data) {
# Identify outliers and remove them from dt
dtReturn
=
reactive
({
cat
(
file
=
stdout
(),
'modSelOutliers:
dtReturn\n'
)
cat
(
file
=
stdout
(),
'modSelOutliers:dtReturn\n'
)
loc.out
=
in.data
()
...
...
@@ -228,7 +228,7 @@ modSelOutliers = function(input, output, session, in.data) {
)
if
(
DEB
)
{
cat
(
file
=
stdout
(),
'
selOutliers.
dtReturn: Outlier points:\n'
)
cat
(
file
=
stdout
(),
'
\nmodSelOutliers:
dtReturn: Outlier points:\n'
)
print
(
loc.outpts
)
}
...
...
@@ -251,7 +251,7 @@ modSelOutliers = function(input, output, session, in.data) {
loc.idgaps
=
loc.out
[,
max
(
get
(
COLIDXDIFF
)),
by
=
c
(
COLID
)][
V1
>=
input
$
slOutliersGapLen
,
get
(
COLID
)]
if
(
DEB
)
{
cat
(
file
=
stdout
(),
'\n
selOutliers.
dtReturn: Track IDs with max gap >= threshold:\n'
)
cat
(
file
=
stdout
(),
'\n
modSelOutliers:
dtReturn: Track IDs with max gap >= threshold:\n'
)
if
(
length
(
loc.idgaps
)
>
0
)
print
(
loc.idgaps
)
else
cat
(
"none\n"
)
...
...
@@ -272,7 +272,7 @@ modSelOutliers = function(input, output, session, in.data) {
# x-check: print all rows with NA's
if
(
DEB
)
{
cat
(
file
=
stdout
(),
'\n
selOutliers.
dtReturn: Rows with NAs to interpolate:\n'
)
cat
(
file
=
stdout
(),
'\n
modSelOutliers:
dtReturn: Rows with NAs to interpolate:\n'
)
print
(
loc.out
[
rowSums
(
is.na
(
loc.out
))
>
0
,
])
}
...
...
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