plot.simdata {FastLZeroSpikeInference} | R Documentation |
Plot simulated data
## S3 method for class 'simdata' plot(x, xlims = NULL, ...)
x |
output data from simulate_ar1 |
xlims |
optional parameter to specify the x-axis limits |
... |
arguments to be passed to methods |
Plot with simulated fluorescence (dark grey circles), calcium concentration (dark green line) and spikes (dark green tick marks on x-axis)
estimate_spikes
,
estimate_calcium
,
sim <- simulate_ar1(n = 500, gam = 0.998, poisMean = 0.009, sd = 0.05, seed = 1) plot(sim)