Learn R Programming

FastLZeroSpikeInference (version 2018.12.10)

plot.simdata: Plot simulated data

Description

Plot simulated data

Usage

# S3 method for 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

Run this code
# NOT RUN {
sim <- simulate_ar1(n = 500, gam = 0.998, poisMean = 0.009, sd = 0.05, seed = 1)
plot(sim)

# }

Run the code above in your browser using DataLab