Inspect: Interactively view Plots

InspectR Documentation

Interactively view Plots

Description

[Stable]
This function plots an interactive plotly graph from a plot sored in a PCollection or PRecording object generated using a Build* method.

Usage

Inspect(X, what = "I.mon")

Arguments

X

A PRecording or PCollection object

what

Specifies a plot to be plotted. any ggplot inside the Plots slot can be named

See Also

Plot, GetPlot, GetPlotNames

Examples

# Build a stimulus response curve from a single recording. Here, a current
# response, averaged from 0.8-1s of the trace is used. A PRecording object with
# an updated slot Plots is returned.
data(PRecording)
SampleData<-BuildStimRespPlot(
  SampleData,
  StimTrace = "V-mon",
  RespTrace = "I-mon",
  Time = c(0.8,1),
  fun = mean,
  ReturnPObject = TRUE
)
# Interactively analyse graph
Inspect(SampleData,"StimRespPlot")

moritzlindner/PatchR documentation built on April 30, 2024, 1:40 a.m.