subset.spiketimes.Rd
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 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) |
spiketimes object restricted to specified odours or channels
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.
Other spiketimes: +.spiketimes
,
[.spiketimes
, divide
,
is.spiketimes
,
merge.spiketimes
, spiketimes
,
split.spiketimes