Description Usage Arguments Details See Also Examples
Carry out Poisson test on absolute number of spikes in odour response
1 | poissonTestOdoursSF(x, odours = colnames(x), maxtrials = NA, ...)
|
x |
An m x n odour response matrix for m trials of n odours |
odours |
Names of odours (defaults to |
maxtrials |
Maximum number of trials to consider (default => all) |
... |
Additional parameters passed to |
It is assumed that each odour column is matched to the blank column that most recently preceded it
poisson.test
, OdourResponseFromSpikes
1 2 3 4 5 6 7 8 9 10 11 | # calculate summary response for cell 100 for window of 700-1700 ms
spikeresp=OdourResponseFromSpikes(Spikes[[100]][[1]], responseWindow=c(700,1700))
poissonTestOdoursSF(spikeresp, alternative="greater")
## Not run:
spikerespall=sapply(Spikes, function(x) OdourResponseFromSpikes(x[[1]],
responseWindow=c(700,1700)), simplify = F)
# significant response (either up or down)
spikes.pval=sapply(spikerespall, poissonTestOdoursSF, simplify = F)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.