Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/reportHTML.repeatedTrain.R
Performs a "standard" analysis on a repatedTrain
object, writes
results to disk and generates a report in html format.
1 2 3 4 5 6 |
object |
a |
filename |
a character string. The generic name of all the files
(html, png as well as |
extension |
see |
directory |
the full or relative path to the directory where the
results are going to be stored. See also |
Title |
See |
binSize, k, bs |
See |
stimTimeCourse |
See |
colCI |
See |
doGamCheck |
Should function
|
doTimeTransformation |
Should the estimated integrated intensity be used to perform a time transformation and generate Ogata's test plots? |
... |
Not used, only there for compatibilty with the generic method definition. |
A raster plot is added first to the report
(plot.transformedTrain
) with a smooth PSTH (spsth
)
superposed. The summary of the inhomogenous Poisson fit leading the
smooth PSTH is added next together with a short summary describing
how accurate the hypothesis of constant intensity/rate made during the
pre-processing of the repeatedTrain
was in view of the
estimated rate. Check spsth
for details. A plot of the
smooth PSTH with approximate 95% CI is added. If doGamCheck
is
set to TRUE
a diagnostic plot for the fitted inhomogenous
Poisson model is added. If doTimeTransformation
is set to
TRUE
the estimated integrated intensity is used to perform a
time transformation and Ogata's test plots are generated.
A R
data file (filename.rda
) is also generated with the
following objects:
PoissonF
: the gamObject
containing
the result of the gam
fit with the inhomogenous
Poisson model.
Lambda
: the integrated intensity of repeatedTrain
under the inhomogenous Poisson model hypothesis. If
doTimeTransformation
was set to TRUE
.
fct
: the matched call.
Nothing is returned, an html file and figures in png format are
written to disk together with the R
variables generated during
the analysis.
Christophe Pouzat christophe.pouzat@gmail.com
as.repeatedTrain
,
plot.repeatedTrain
,
summary.repeatedTrain
,
spsth
,
transformedTrain
,
plot.transformedTrain
,
summary.transformedTrain
,
gam
,
gam.check
,
frt
1 2 3 4 | ## load e070528citronellal data set
data(e070528citronellal)
## make a standard analysis on the first neuron
reportHTML(e070528citronellal[["neuron 1"]],"e070528citronellalN1",stim=c(6.14,6.64))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.