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
pertz-lab
shiny-timecourse-inspector
Commits
1fc75946
Commit
1fc75946
authored
Sep 17, 2019
by
dmattek
Browse files
Strings instead of explicit column names in formula interface of dcast
parent
2e5598fb
Changes
1
Show whitespace changes
Inline
Side-by-side
server.R
View file @
1fc75946
...
@@ -741,9 +741,9 @@ shinyServer(function(input, output, session) {
...
@@ -741,9 +741,9 @@ shinyServer(function(input, output, session) {
return
(
NULL
)
return
(
NULL
)
#print(loc.dt)
#print(loc.dt)
loc.out
=
dcast
(
loc.dt
,
id
~
realtime
,
value.var
=
'y'
)
loc.out
=
dcast
(
loc.dt
,
as.formula
(
paste0
(
COLID
,
"~"
,
COLRT
))
,
value.var
=
COLY
)
#print(loc.out)
#print(loc.out)
loc.rownames
=
loc.out
$
id
loc.rownames
=
loc.out
[[
COLID
]]
loc.out
=
as.matrix
(
loc.out
[,
-1
])
loc.out
=
as.matrix
(
loc.out
[,
-1
])
...
...
Write
Preview
Supports
Markdown
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