plot.simdata: Plot simulated data

Description Usage Arguments Value See Also Examples

View source: R/utils.R

Description

Plot simulated data

Usage

1
2
## S3 method for class 'simdata'
plot(x, xlims = NULL, ...)

Arguments

x

output data from simulate_ar1

xlims

optional parameter to specify the x-axis limits

...

arguments to be passed to methods

Value

Plot with simulated fluorescence (dark grey circles), calcium concentration (dark green line) and spikes (dark green tick marks on x-axis)

See Also

estimate_spikes, estimate_calcium,

Examples

1
2
sim <- simulate_ar1(n = 500, gam = 0.998, poisMean = 0.009, sd = 0.05, seed = 1)
plot(sim)

FastLZeroSpikeInference documentation built on May 2, 2019, 4:02 p.m.