Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
3acb6728
Commit
3acb6728
authored
Jun 11, 2019
by
majpark21
Browse files
PSD: option for X-axis as frequency
parent
38978b2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/trajPsdPlot.R
View file @
3acb6728
...
...
@@ -13,6 +13,7 @@ modPSDPlotUI = function(id, label = "Plot PSD of average trajectory.") {
),
column
(
3
,
selectInput
(
ns
(
'inPSDxchoice'
),
'Xaxis:'
,
list
(
'Period'
=
TRUE
,
'Frequency'
=
FALSE
)),
radioButtons
(
ns
(
'rBPSDmethod'
),
'Method for PSD estimation:'
,
list
(
'Smoothed Fourier'
=
'pgram'
,
'AR Fit'
=
'ar'
))
),
column
(
...
...
@@ -186,7 +187,7 @@ modPSDPlot = function(input, output, session,
in.col.id
=
'id'
,
in.col.by
=
in.facet
,
in.method
=
input
$
rBPSDmethod
,
in.return.period
=
TRUE
in.return.period
=
input
$
inPSDxchoice
)
loc.dt.aggr
[,
(
in.facet
)
:=
as.factor
(
get
(
in.facet
))]
...
...
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