An attaempt to create a basesubtraction option first step at calculating lifetime sparsness

basesubtract_heatmap_cor_dist(cells, odours, col = jet.colors(20),
  basesubtract = TRUE, baselinesamples = 1:5, ...)

Arguments

cells

Character specifying cells to plot OR a data.frame containing information about those cells

odours

Character vector specifying odours to plot

col

Character vector of colour levels generated by a colour palette function such as jet.colors. Defaults to jet.colors(20).

basesubtract

Whether or not to subtract the baseline firing rate

baselinesamples

Integer indices of the timepoints to use for the baseline. These are 50ms time points for smSpikes

...

Additional parameters passed to heatmap function