subset.spiketimes | R Documentation |
NB the sweeps will be in the specified odour/channel order. If an unnamed second parameter is specified it will be interpreted as vector of odours if it is a character or channel ids if it is numeric.
## S3 method for class 'spiketimes'
subset(x, odours = NULL, channels = NULL, ...)
x |
The original spiketimes object |
odours |
A character vector of odours |
channels |
Integer vector of channels |
... |
further arguments to be passed to or from other methods (currently ignored) |
If an odour name is duplicated in the oddconfig (e.g. ctr or oil, often) then a warning will be given and the first matching sweep(s) will be used.
spiketimes object restricted to specified odours or channels
jefferis
Other spiketimes: +.spiketimes
,
[.spiketimes
, divide
,
is.spiketimes
,
merge.spiketimes
, spiketimes
,
split.spiketimes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.